Hi,

On 08/24/2016 07:59 AM, Alastair Sherringham wrote:
> "Parse error: syntax error, unexpected 'class' (T_CLASS), expecting
> identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in
> /homepages/44/d450433756/htdocs/mediawiki-1.23.15/vendor/param-processor/param-processor/DefaultConfig.php
> on line 24"

> php5.5 composer.phar self-update
> php5.5 composer.phar update

What version of PHP is your webserver using? You are using PHP5.5 to run
composer, so it downloads the latest version of param-processor that is
compatible with PHP5.5. However it seems your web server is not running
5.5 apparently, so it fatals.

If you don't have the same version of PHP installed for CLI usage as
your webserver, you can fake it by using
<https://getcomposer.org/doc/06-config.md#platform>.

-- Legoktm

_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to