Hello,
Even though I have the latest PHP version:
--------------------- $ php -v PHP 5.6.10 (cli) (built: Jun 18 2015 07:19:18) Copyright (c) 1997-2015 The PHP Group Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies with Suhosin v0.9.38, Copyright (c) 2007-2015, by SektionEins GmbH ---------------------
I have problem running the gpm:
---------------------```
$bin/gpm selfupgrade
Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or '(' in /CENSORED/htdocs/bin/gpm on line 13
---------------------```
I have tried adding the following to .htaccess but this did not fix anything:
--------------------- AddType x-mapp-php6 .php AddHandler x-mapp-php6 .php ---------------------
This is my httpd.conf part in relation to PHP:
--------------------- <IfModule fastcgi_module> AddHandler php5-fcgi .php Action php5-fcgi /fcgi-bin/php5.external Alias /fcgi-bin/php5.external /php5.external FastCgiExternalServer /php5.external -socket /CENSORED/sockets/php5-fpm.socket -appConnTimeout 30 -idle-timeout 60 <Location /fcgi-bin/php5.external> Order Deny,Allow Deny from All Allow from env=REDIRECT_STATUS </Location> </IfModule> ---------------------
My .bash_profile:
--------------------- export PHP_PATH="/LATEST-PHP/bin/php" export PATH alias php="/LATEST-PHP/bin/php" ---------------------
Would you please help me fix this issue?
Thank you!