Page MenuHomePhabricator

Maintenance scripts fail with error in SpecialPage.php
Closed, InvalidPublic

Description

Author: patriarch

Description:
Everytime I try to run the maintenance scripts I get this error:

Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or
T_FUNCTION or T_VAR or '}' in /home/taacus/public_html/includes/SpecialPage.php
on line 69

It worked before in 1.6.7 but not anymore. I have my AdminSettings.php set up
like it says to. Like I said they used to work until the upgrade to 1.7.0 and
1.8-svn. I tried both 1.7.0 and 1.8-svn and both have the same problem.


Version: 1.8.x
Severity: normal
OS: Windows XP
Platform: PC

Details

Reference
bz6597

Event Timeline

bzimport raised the priority of this task from to High.Nov 21 2014, 9:21 PM
bzimport set Reference to bz6597.
bzimport added a subscriber: Unknown Object (MLST).

It sounds like you're running PHP 4. Make sure your command-line
PHP executable is in fact PHP 5.

patriarch wrote:

That is exactly what it was. I have no idea how to make my shell access use php5
since the php is the cgi module on my server but I have found a temporary work
around.