• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Issue Using PHP 5.3.3. by OS Vendor with xcache

DC2017

New Pleskian
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.

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.
 
Please use this instruction for getting Xcache for PHP 5.6 - #4
 
Please use this instruction for getting Xcache for PHP 5.6 - #4

I did that and I got an error saying that

Code:
[root@server xcache-3.2.0]# /opt/plesk/php/5.6/bin/phpize
-bash: /opt/plesk/php/5.6/bin/phpize: No such file or directory
[root@server xcache-3.2.0]# ./configure --enable-xcache --with-php-config=/opt/plesk/php/5.6/bin/php-config
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
configure: error: Cannot find php-config. Please use --with-php-config=PATH
[root@server xcache-3.2.0]#
 
Hi DC2017,

pls. avoid double posts and continue at your previous post and the corresponding answers => #9
 
Back
Top