Hi I have been trying to figure things out myself but its got to a point where I need people who know what they are doing lol.
I have Plesk Onyx 17.5.3 and I have multiple PHP versions installed.
php -v gives me
and /opt/plesk/php/5.6/bin/php -v give me
im using vBulletin and I want to upgrade to 4.2.4 from 4.2.3PL 1 but it requires php 5.5+ and I use xcache on it so when I switch to PHP 5.6.31 it does not load due to it not having xcache but its installed on the server, How can I fix this.
thank you.
I have Plesk Onyx 17.5.3 and I have multiple PHP versions installed.
Code:
{"php":[
{
"id":"plesk-php71-fpm",
"path":"/opt/plesk/php/7.1/sbin/php-fpm",
"clipath":"/opt/plesk/php/7.1/bin/php",
"phpini":"/opt/plesk/php/7.1/etc/php.ini",
"version":"7.1.7",
"displayname":"7.1.7",
"type":"fpm",
"system":true,
"service":"plesk-php71-fpm",
"poold":"/opt/plesk/php/7.1/etc/php-fpm.d"
},
{
"id":"fastcgi",
"path":"/usr/bin/php-cgi",
"clipath":"/usr/bin/php",
"phpini":"/etc/php.ini",
"version":"5.3.3",
"displayname":"5.3.3",
"type":"fastcgi",
"system":true
},
{
"id":"plesk-php70-cgi",
"path":"/opt/plesk/php/7.0/bin/php-cgi",
"clipath":"/opt/plesk/php/7.0/bin/php",
"phpini":"/opt/plesk/php/7.0/etc/php.ini",
"version":"7.0.21",
"displayname":"7.0.21",
"type":"cgi",
"system":true
},
{
"id":"plesk-php70-fpm",
"path":"/opt/plesk/php/7.0/sbin/php-fpm",
"clipath":"/opt/plesk/php/7.0/bin/php",
"phpini":"/opt/plesk/php/7.0/etc/php.ini",
"version":"7.0.21",
"displayname":"7.0.21",
"type":"fpm",
"system":true,
"service":"plesk-php70-fpm",
"poold":"/opt/plesk/php/7.0/etc/php-fpm.d"
},
{
"id":"plesk-php71-fastcgi",
"path":"/opt/plesk/php/7.1/bin/php-cgi",
"clipath":"/opt/plesk/php/7.1/bin/php",
"phpini":"/opt/plesk/php/7.1/etc/php.ini",
"version":"7.1.7",
"displayname":"7.1.7",
"type":"fastcgi",
"system":true
},
{
"id":"plesk-php70-fastcgi",
"path":"/opt/plesk/php/7.0/bin/php-cgi",
"clipath":"/opt/plesk/php/7.0/bin/php",
"phpini":"/opt/plesk/php/7.0/etc/php.ini",
"version":"7.0.21",
"displayname":"7.0.21",
"type":"fastcgi",
"system":true
},
{
"id":"cgi",
"path":"/usr/bin/php-cgi",
"clipath":"/usr/bin/php",
"phpini":"/etc/php.ini",
"version":"5.3.3",
"displayname":"5.3.3",
"type":"cgi",
"system":true
},
{
"id":"plesk-php56-fastcgi",
"path":"/opt/plesk/php/5.6/bin/php-cgi",
"clipath":"/opt/plesk/php/5.6/bin/php",
"phpini":"/opt/plesk/php/5.6/etc/php.ini",
"version":"5.6.31",
"displayname":"5.6.31",
"type":"fastcgi",
"system":true
},
{
"id":"plesk-php71-cgi",
"path":"/opt/plesk/php/7.1/bin/php-cgi",
"clipath":"/opt/plesk/php/7.1/bin/php",
"phpini":"/opt/plesk/php/7.1/etc/php.ini",
"version":"7.1.7",
"displayname":"7.1.7",
"type":"cgi",
"system":true
},
{
"id":"plesk-php56-cgi",
"path":"/opt/plesk/php/5.6/bin/php-cgi",
"clipath":"/opt/plesk/php/5.6/bin/php",
"phpini":"/opt/plesk/php/5.6/etc/php.ini",
"version":"5.6.31",
"displayname":"5.6.31",
"type":"cgi",
"system":true
},
{
"id":"module",
"path":"/usr/bin/php-cgi",
"clipath":"/usr/bin/php",
"phpini":"/etc/php.ini",
"version":"5.3.3",
"displayname":"5.3.3",
"type":"module",
"system":true
},
{
"id":"plesk-php56-fpm",
"path":"/opt/plesk/php/5.6/sbin/php-fpm",
"clipath":"/opt/plesk/php/5.6/bin/php",
"phpini":"/opt/plesk/php/5.6/etc/php.ini",
"version":"5.6.31",
"displayname":"5.6.31",
"type":"fpm",
"system":true,
"service":"plesk-php56-fpm",
"poold":"/opt/plesk/php/5.6/etc/php-fpm.d"
}
]}
php -v gives me
Code:
PHP 5.3.3 (cli) (built: Mar 22 2017 12:27:09)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
with XCache v3.2.0, Copyright (c) 2005-2014, by mOo
with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v5.0.18, Copyright (c) 2002-2015, by ionCube Ltd.
with XCache Cacher v3.2.0, Copyright (c) 2005-2014, by mOo
and /opt/plesk/php/5.6/bin/php -v give me
Code:
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/plesk/php/5.6/lib64/php/modules/xcache.so' - /opt/plesk/php/5.6/lib64/php/modules/xcache.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/plesk/php/5.6/lib64/php/modules/xcache.so' - /opt/plesk/php/5.6/lib64/php/modules/xcache.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP 5.6.31 (cli) (built: Jul 7 2017 10:54:32)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v6.0.7, Copyright (c) 2002-2016, by ionCube Ltd.
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
im using vBulletin and I want to upgrade to 4.2.4 from 4.2.3PL 1 but it requires php 5.5+ and I use xcache on it so when I switch to PHP 5.6.31 it does not load due to it not having xcache but its installed on the server, How can I fix this.
thank you.