On Thu, Aug 12, 2010 at 6:06 PM, Natasha Brown
<learnrussianspeakrussian(a)gmail.com> wrote:
I can not run update.php, I did it php5 update.php as
well. It gives me :
"parse error, unexpected T_ARRAY, expecting '&' or T_VARIABLE in
.../w/extensions/SemanticMediaWiki/includes/SMW_GlobalFunctions.php on line
221"
MediaWiki 1.16.0, PHP 5.2.9 (cgi), MySQL 5.0.91mm-log, Semantic MediaWiki
(Version 1.5.1.1)
What does "php -v" output? For me it's
PHP 5.3.2-1ubuntu4.2 with Suhosin-Patch (cli) (built: May 13 2010 20:01:00)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
If it says PHP 4.anything, "php" is the wrong command to use. Ask
your host what the correct command is to access PHP5 from the command
line. It might be "php5", or something else.