MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Development => Topic started by: Spacedust on 2014-03-28, 11:37:32

Title: php53s confilitcs with php55 from remi !
Post by: Spacedust on 2014-03-28, 11:37:32
Why is this happening !

Quote
PHP Version 5.5.10

Quote
Configuration File (php.ini) Path    /etc
Loaded Configuration File    /opt/php53s/custom/php.ini
Scan this dir for additional .ini files    /opt/php53s/etc/php.d
Additional .ini files parsed    /opt/php53s/etc/php.d/bcmath.ini, /opt/php53s/etc/php.d/curl.ini, /opt/php53s/etc/php.d/dom.ini, /opt/php53s/etc/php.d/enchant.ini, /opt/php53s/etc/php.d/fileinfo.ini, /opt/php53s/etc/php.d/gd.ini, /opt/php53s/etc/php.d/geoip.ini, /opt/php53s/etc/php.d/imap.ini, /opt/php53s/etc/php.d/intl.ini, /opt/php53s/etc/php.d/json.ini, /opt/php53s/etc/php.d/ldap.ini, /opt/php53s/etc/php.d/lzf.ini, /opt/php53s/etc/php.d/mbstring.ini, /opt/php53s/etc/php.d/mcrypt.ini, /opt/php53s/etc/php.d/mysql.ini, /opt/php53s/etc/php.d/mysqli.ini, /opt/php53s/etc/php.d/pdo.ini, /opt/php53s/etc/php.d/pdo_mysql.ini, /opt/php53s/etc/php.d/pdo_sqlite.ini, /opt/php53s/etc/php.d/phar.ini, /opt/php53s/etc/php.d/posix.ini, /opt/php53s/etc/php.d/pspell.ini, /opt/php53s/etc/php.d/recode.ini, /opt/php53s/etc/php.d/redis.ini, /opt/php53s/etc/php.d/snmp.ini, /opt/php53s/etc/php.d/soap.ini, /opt/php53s/etc/php.d/sysvmsg.ini, /opt/php53s/etc/php.d/sysvsem.ini, /opt/php53s/etc/php.d/sysvshm.ini, /opt/php53s/etc/php.d/tidy.ini, /opt/php53s/etc/php.d/wddx.ini, /opt/php53s/etc/php.d/xmlreader.ini, /opt/php53s/etc/php.d/xmlrpc.ini, /opt/php53s/etc/php.d/xmlwriter.ini, /opt/php53s/etc/php.d/xsl.ini, /opt/php53s/etc/php.d/zip.ini

It should read /etc/php.d not /opt/php53s/etc/php.d/ !!!
Title: Re: php53s confilitcs with php55 from remi !
Post by: MRatWork on 2014-03-28, 13:26:18
In '/opt/php53s/custom/php-cli.sh', try change:
Code: [Select]
export PHPRC="/opt/php53s/custom"
export PHP_INI_SCAN_DIR="/opt/php53s/etc/php.d"
php_ini="/opt/php53s/custom/php.ini"

exec /opt/php53s/usr/bin/php -c $php_ini $*

to
Code: [Select]
#export PHPRC="/opt/php53s/custom"
#export PHP_INI_SCAN_DIR="/opt/php53s/etc/php.d"
php_ini="/opt/php53s/custom/php.ini"

exec /opt/php53s/usr/bin/php -c $php_ini $*

also in '/usr/local/lxlabs/kloxo/init/php53s/php-cli.sh'.

And then better reboot.

If it's work, that mean 'export' act as 'global' in php-cli.
Title: Re: php53s confilitcs with php55 from remi !
Post by: Spacedust on 2014-03-28, 13:30:51
In '/opt/php53s/custom/php-cli.sh', try change:
Code: [Select]
export PHPRC="/opt/php53s/custom"
export PHP_INI_SCAN_DIR="/opt/php53s/etc/php.d"
php_ini="/opt/php53s/custom/php.ini"

exec /opt/php53s/usr/bin/php -c $php_ini $*

to
Code: [Select]
#export PHPRC="/opt/php53s/custom"
#export PHP_INI_SCAN_DIR="/opt/php53s/etc/php.d"
php_ini="/opt/php53s/custom/php.ini"

exec /opt/php53s/usr/bin/php -c $php_ini $*

also in '/usr/local/lxlabs/kloxo/init/php53s/php-cli.sh'.

And then better reboot.

If it's work, that mean 'export' act as 'global' in php-cli.

It works ;) No need to reboot;

export PHP_INI_SCAN_DIR="etc/php.d"

And /etc/init.d/httpd restart
Title: Re: php53s confilitcs with php55 from remi !
Post by: MRatWork on 2014-03-28, 14:12:15
Try:

Code: [Select]
#!/bin/sh

#export PHPRC="/opt/php53s/custom"
#export PHP_INI_SCAN_DIR="/opt/php53s/etc/php.d"
php_ini="/opt/php52m/custom/php.ini"

exec env -i PHP_INI_SCAN_DIR="/opt/php53s/etc/php.d" /opt/php53s/usr/bin/php -c $php_ini $*
Title: Re: php53s confilitcs with php55 from remi !
Post by: Spacedust on 2014-03-28, 17:10:03
Try:

Code: [Select]
#!/bin/sh

#export PHPRC="/opt/php53s/custom"
#export PHP_INI_SCAN_DIR="/opt/php53s/etc/php.d"
php_ini="/opt/php52m/custom/php.ini"

exec env -i PHP_INI_SCAN_DIR="/opt/php53s/etc/php.d" /opt/php53s/usr/bin/php -c $php_ini $*

I've changed it to php53 which is faster. Now it seems to be ok.

I have php53s modifed for Kloxo, php52m, php53m, php54m, php55m for alternative PHP versions and php 5.5.10 from remi as default PHP.

Now just how to properly make this on production server ;)

I have just old php53s for Kloxo, php52s as alternative and php 5.4.26 from remi as default PHP.

How to fix this:

Quote
-> Running transaction check
---> Package php-common.x86_64 0:5.5.10-1.el6.remi.1 will be reinstalled
--> Processing Dependency: php-pecl-zip(x86-64) for package: php-common-5.5.10-1.el6.remi.1.x86_64
---> Package php-pecl-zip.x86_64 0:1.12.4-1.el6.remi.5.5 will be obsoleted
--> Processing Dependency: php-pecl-zip(x86-64) for package: php-common-5.5.10-1.el6.remi.1.x86_64
--> Processing Dependency: php-pecl-zip(x86-64) for package: php-common-5.5.10-1.el6.remi.1.x86_64
---> Package php52-common.x86_64 0:5.2.17-101.mr.el6 will be obsoleting
---> Package php53s-fpm.x86_64 0:5.3.28-2.mr.el6 will be updated
---> Package php53s-fpm.x86_64 0:5.3.28-4.mr.el6 will be an update
--> Processing Dependency: php53s = 5.3.28-4.mr.el6 for package: php53s-fpm-5.3.28-4.mr.el6.x86_64
--> Running transaction check
---> Package php-common.x86_64 0:5.5.10-1.el6.remi.1 will be reinstalled
--> Processing Dependency: php-pecl-zip(x86-64) for package: php-common-5.5.10-1.el6.remi.1.x86_64
---> Package php-pecl-zip.x86_64 0:1.12.4-1.el6.remi.5.5 will be obsoleted
--> Processing Dependency: php-pecl-zip(x86-64) for package: php-common-5.5.10-1.el6.remi.1.x86_64
--> Processing Dependency: php-pecl-zip(x86-64) for package: php-common-5.5.10-1.el6.remi.1.x86_64
---> Package php53s.x86_64 0:5.3.28-4.mr.el6 will be installed
--> Processing Dependency: php53s-cli = 5.3.28-4.mr.el6 for package: php53s-5.3.28-4.mr.el6.x86_64
--> Processing Dependency: php53s-common = 5.3.28-4.mr.el6 for package: php53s-5.3.28-4.mr.el6.x86_64
--> Running transaction check
---> Package php-common.x86_64 0:5.5.10-1.el6.remi.1 will be reinstalled
--> Processing Dependency: php-pecl-zip(x86-64) for package: php-common-5.5.10-1.el6.remi.1.x86_64
---> Package php-pecl-zip.x86_64 0:1.12.4-1.el6.remi.5.5 will be obsoleted
--> Processing Dependency: php-pecl-zip(x86-64) for package: php-common-5.5.10-1.el6.remi.1.x86_64
--> Processing Dependency: php-pecl-zip(x86-64) for package: php-common-5.5.10-1.el6.remi.1.x86_64
---> Package php53s-cli.x86_64 0:5.3.28-4.mr.el6 will be installed
---> Package php53s-common.x86_64 0:5.3.28-4.mr.el6 will be installed
--> Finished Dependency Resolution
Error: Package: php-common-5.5.10-1.el6.remi.1.x86_64 (@remi-php55)
           Requires: php-pecl-zip(x86-64)
           Removing: php-pecl-zip-1.12.4-1.el6.remi.5.5.x86_64 (@remi-php55)
               php-pecl-zip(x86-64) = 1.12.4-1.el6.remi.5.5
           Obsoleted By: php-common-5.5.10-1.el6.remi.1.x86_64 (remi-php55)
               Not found
           Available: php-common-5.3.27-3.el6.x86_64 (kloxo-mr-centalt)
               php-pecl-zip(x86-64) = 1.11.0
           Available: php-common-5.4.25-2.el6.remi.x86_64 (remi)
               php-pecl-zip(x86-64) = 1.11.0
           Available: php-common-5.4.26-1.el6.remi.x86_64 (remi)
               php-pecl-zip(x86-64) = 1.11.0
           Available: php-pecl-zip-1.12.3-1.el6.remi.5.5.x86_64 (remi-php55)
               php-pecl-zip(x86-64) = 1.12.3-1.el6.remi.5.5
           Available: php-common-5.3.3-26.el6.x86_64 (base)
               Not found
           Available: php-common-5.3.3-27.el6_5.x86_64 (updates)
               Not found
           Available: php-common-5.5.10-1.el6.remi.x86_64 (remi-php55)
               Not found
Error: Package: php-common-5.5.10-1.el6.remi.1.x86_64 (remi-php55)
           Requires: php-pecl-zip(x86-64)
           Removing: php-pecl-zip-1.12.4-1.el6.remi.5.5.x86_64 (@remi-php55)
               php-pecl-zip(x86-64) = 1.12.4-1.el6.remi.5.5
           Obsoleted By: php-common-5.5.10-1.el6.remi.1.x86_64 (remi-php55)
               Not found
           Available: php-common-5.3.27-3.el6.x86_64 (kloxo-mr-centalt)
               php-pecl-zip(x86-64) = 1.11.0
           Available: php-common-5.4.25-2.el6.remi.x86_64 (remi)
               php-pecl-zip(x86-64) = 1.11.0
           Available: php-common-5.4.26-1.el6.remi.x86_64 (remi)
               php-pecl-zip(x86-64) = 1.11.0
           Available: php-pecl-zip-1.12.3-1.el6.remi.5.5.x86_64 (remi-php55)
               php-pecl-zip(x86-64) = 1.12.3-1.el6.remi.5.5
           Available: php-common-5.3.3-26.el6.x86_64 (base)
               Not found
           Available: php-common-5.3.3-27.el6_5.x86_64 (updates)
               Not found
           Available: php-common-5.5.10-1.el6.remi.x86_64 (remi-php55)
               Not found
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
Title: Re: php53s confilitcs with php55 from remi !
Post by: Spacedust on 2014-03-28, 17:42:05
It seems only all modules for PHP 5.5 are working. All other versions have conflicts because they share the same directory.
Title: Re: php53s confilitcs with php55 from remi !
Post by: MRatWork on 2014-03-29, 02:25:33
It's because conflict between php-* (version 5.3) from centalt and php-* (version 5.5) from remi.

In /etc/yum.repos.d/mratwork.repo yum will see under '[mratwork-centalt]' include 'exclude=openssh* perl* mariadb* php* postfix* exim* ssmtp*'. It's mean kloxo-mr not using 'php*' from centalt. Php branch (version 5.3) in centalt will be update to php55 branch (version 5.5). So, Centalt still not the same branch implementing like IUS do.
Title: Re: php53s confilitcs with php55 from remi !
Post by: chrisf on 2014-03-29, 02:42:42
It's because you haven't thought out multiple php configuration.  Each version must have its own modules!
Title: Re: php53s confilitcs with php55 from remi !
Post by: MRatWork on 2014-03-29, 03:31:17
It's because you haven't thought out multiple php configuration.  Each version must have its own modules!
Othewise php for 'multiple php' running well. Default php (install with 'yum install' or 'yum replace') have a trouble with php53s.

You can test php for 'multiple php' with:

1. run 'sh /script/php55m-installer' --> truly it's will be process the php55u from IUS
2. run 'service php-fpm stop'
3. run 'mv -rf /etc/rc.d/init.d/php-fpm /etc/rc.d/init.d/php-fpm.old' and then 'cp -f /opt/php55m/custom/php-fpm.init /etc/rc.d/init.d/php-fpm; chmod 0755 /etc/rc.d/init.d/php-fpm'
4. run 'service php-fpm start'
Title: Re: php53s confilitcs with php55 from remi !
Post by: chrisf on 2014-03-29, 03:56:59
[root@cc-server script]# sh php55m-installer
*** BEGIN php55m ***
Error: No matching Packages to list
Error: No matching Packages to list
- No PHP packages exists. Only detecting 'php55u' and 'php55'. Exit
Title: Re: php53s confilitcs with php55 from remi !
Post by: chrisf on 2014-03-29, 03:59:39
Same for all phpXXm-installer
Title: Re: php53s confilitcs with php55 from remi !
Post by: MRatWork on 2014-03-29, 05:40:50
Php55u only exists in Centos 6. I hope you are already have latest version of 6.5.1.b.
Title: Re: php53s confilitcs with php55 from remi !
Post by: chrisf on 2014-03-29, 05:57:56
yes, I have latest 6.5.1b

I an using centos 6.5 final 64 bit.  The installers do not work
Title: Re: php53s confilitcs with php55 from remi !
Post by: chrisf on 2014-03-29, 06:05:28
I got it, how to install extensions?
Title: Re: php53s confilitcs with php55 from remi !
Post by: chrisf on 2014-03-29, 06:10:34
Now this error:
[root@cc-server ~]# service php-fpm restart
Stopping php55m-fpm:                                       [FAILED]
Starting php55m-fpm: [29-Mar-2014 01:07:30] ERROR: An another FPM instance seems to already listen on /home/php-fpm/sock/apache.sock
[29-Mar-2014 01:07:30] ERROR: FPM initialization failed
                                                           [FAILED]
[root@cc-server ~]#

I rebooted, still this error.  How to disable first php-fpm?
Title: Re: php53s confilitcs with php55 from remi !
Post by: MRatWork on 2014-03-29, 06:32:47
Error appear because php-fpm init think service as 'php54-fpm'. In fact, 'php-fpm' still running.

For stop previous php-fpm service, try 'ps aux|grep -v 'grep'|grep '/etc/php-fpm.conf'|awk '{print $2}' and then will be appear number (let say 12345).

After that run 'kill -9 12345' (depend on number appear).

Reboot also fix this issue.
Title: Re: php53s confilitcs with php55 from remi !
Post by: chrisf on 2014-03-29, 07:19:07
I tried reboot.  sh /script/restart-web fails, same php-fpm error.
Title: Re: php53s confilitcs with php55 from remi !
Post by: MRatWork on 2014-03-29, 10:06:26
You can see http://bck.potissima.com/phpinfo to know where php54m running well as php-fpm for website.
Title: Re: php53s confilitcs with php55 from remi !
Post by: chrisf on 2014-03-29, 14:15:48
I followed your steps.  It will not run properly.  I get the error about another php-fpm running.

I reboot.

sh /script/restart-web fails after reboot with same error.

IS THERE ANYTHING ELSE I need to do?
Title: Re: php53s confilitcs with php55 from remi !
Post by: MRatWork on 2014-03-29, 14:22:01
Inform here:
Code: [Select]
ps aux|grep 'fpm'|grep -v 'grep'
Title: Re: php53s confilitcs with php55 from remi !
Post by: chrisf on 2014-03-29, 14:39:10
[root@cc-server ~]# service php-fpm stop
Stopping php-fpm:                                          [  OK  ]
[root@cc-server ~]# mv /etc/rc.d/init.d/php-fpm /etc/rc.d/init.d/php-fpm.old;cp -f /opt/php55m/custom/php-fpm.init /etc/rc.d/init.d/php-fpm
[root@cc-server ~]# chmod 755 /etc/rc.d/init.d/php-fpm
[root@cc-server ~]# service php-fpm start
Starting php55m-fpm:                                       [  OK  ]
[root@cc-server ~]# service php-fpm restart
Stopping php55m-fpm:                                       [FAILED]
Starting php55m-fpm: [29-Mar-2014 09:34:51] ERROR: An another FPM instance seems to already listen on /home/php-fpm/sock/apache.sock
[29-Mar-2014 09:34:51] ERROR: FPM initialization failed
                                                           [FAILED]
[root@cc-server ~]#
Title: Re: php53s confilitcs with php55 from remi !
Post by: chrisf on 2014-03-29, 14:41:41
[root@cc-server ~]# ps aux|grep 'fpm'|grep -v 'grep'
root      3621  0.0  0.0 379468   368 ?        Ss   01:21   0:00 php-fpm: master process (/opt/php53s/custom/php-fpm.conf)     
root      5189  0.0  0.0 158184  3492 ?        Ss   09:34   0:00 php-fpm: master process (/etc/php-fpm.conf)
apache    5191  0.0  0.0 158128  2900 ?        S    09:34   0:00 php-fpm: pool www
apache    5192  0.0  0.0 158128  2900 ?        S    09:34   0:00 php-fpm: pool www
apache    5193  0.0  0.0 158128  2900 ?        S    09:34   0:00 php-fpm: pool www
apache    5194  0.0  0.0 158128  2904 ?        S    09:34   0:00 php-fpm: pool www
apache    5195  0.0  0.0 158128  2904 ?        S    09:34   0:00 php-fpm: pool www
[root@cc-server ~]#
Title: Re: php53s confilitcs with php55 from remi !
Post by: chrisf on 2014-03-29, 14:53:23
root@cc-server ~]# killall -9 php-fpm
[root@cc-server ~]# ps aux|grep 'fpm'|grep -v 'grep'
[root@cc-server ~]# service php-fpm restart
Stopping php55m-fpm:                                       [FAILED]
Starting php55m-fpm:                                       [  OK  ]
[root@cc-server ~]# service php-fpm restart
Stopping php55m-fpm:                                       [FAILED]
Starting php55m-fpm: [29-Mar-2014 09:45:52] ERROR: An another FPM instance seems to already listen on /home/php-fpm/sock/apache.sock
[29-Mar-2014 09:45:52] ERROR: FPM initialization failed
                                                           [FAILED]


As you can see I killed ALL fpm instances, checkedvwith grep, then start fpm, says OK.  Type restart,  FAILS.  Something else is not right.
Title: Re: php53s confilitcs with php55 from remi !
Post by: MRatWork on 2014-03-29, 16:19:38
Hmm. Delete '/home/php-fpm/sock/apache.sock' file.
Title: Re: php53s confilitcs with php55 from remi !
Post by: chrisf on 2014-03-29, 16:53:58
Same result.  Error.
Title: Re: php53s confilitcs with php55 from remi !
Post by: Spacedust on 2014-03-30, 17:28:47
I got this everyday !

Warning: PHP Startup: bcmath: Unable to initialize module
Module compiled with module API=20090626
PHP    compiled with module API=20121212
These options need to match
 in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/opt/php53s/usr/lib64/php/modules/curl.so' - /opt/php53s/usr/lib64/php/modules/curl.so: undefined symbol: php_checkuid in Unknown on line 0

Warning: PHP Startup: dom: Unable to initialize module
Module compiled with module API=20090626
PHP    compiled with module API=20121212
These options need to match
 in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/opt/php53s/usr/lib64/php/modules/enchant.so' - /opt/php53s/usr/lib64/php/modules/enchant.so: undefined symbol: php_checkuid in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/opt/php53s/usr/lib64/php/modules/fileinfo.so' - /opt/php53s/usr/lib64/php/modules/fileinfo.so: undefined symbol: zval_property_ctor in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/opt/php53s/usr/lib64/php/modules/gd.so' - /opt/php53s/usr/lib64/php/modules/gd.so: undefined symbol: php_checkuid in Unknown on line 0

Warning: PHP Startup: geoip: Unable to initialize module
Module compiled with module API=20090626
PHP    compiled with module API=20121212
These options need to match
 in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/opt/php53s/usr/lib64/php/modules/imap.so' - /opt/php53s/usr/lib64/php/modules/imap.so: undefined symbol: php_checkuid in Unknown on line 0

Warning: PHP Startup: intl: Unable to initialize module
Module compiled with module API=20090626
PHP    compiled with module API=20121212
These options need to match
 in Unknown on line 0

Warning: PHP Startup: json: Unable to initialize module
Module compiled with module API=20090626
PHP    compiled with module API=20121212
These options need to match
 in Unknown on line 0

Warning: PHP Startup: ldap: Unable to initialize module
Module compiled with module API=20090626
PHP    compiled with module API=20121212
These options need to match
 in Unknown on line 0

Warning: PHP Startup: lzf: Unable to initialize module
Module compiled with module API=20090626
PHP    compiled with module API=20121212
These options need to match
 in Unknown on line 0

Warning: PHP Startup: mbstring: Unable to initialize module
Module compiled with module API=20090626
PHP    compiled with module API=20121212
These options need to match
 in Unknown on line 0

Warning: PHP Startup: mcrypt: Unable to initialize module
Module compiled with module API=20090626
PHP    compiled with module API=20121212
These options need to match
 in Unknown on line 0

Warning: PHP Startup: mysql: Unable to initialize module
Module compiled with module API=20090626
PHP    compiled with module API=20121212
These options need to match
 in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/opt/php53s/usr/lib64/php/modules/mysqli.so' - /opt/php53s/usr/lib64/php/modules/mysqli.so: undefined symbol: zval_property_ctor in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/opt/php53s/usr/lib64/php/modules/pdo.so' - /opt/php53s/usr/lib64/php/modules/pdo.so: undefined symbol: zval_property_ctor in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/opt/php53s/usr/lib64/php/modules/pdo_mysql.so' - /opt/php53s/usr/lib64/php/modules/pdo_mysql.so: undefined symbol: php_pdo_int64_to_str in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/opt/php53s/usr/lib64/php/modules/pdo_sqlite.so' - /opt/php53s/usr/lib64/php/modules/pdo_sqlite.so: undefined symbol: php_pdo_register_driver in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/opt/php53s/usr/lib64/php/modules/phar.so' - /opt/php53s/usr/lib64/php/modules/phar.so: undefined symbol: php_checkuid in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/opt/php53s/usr/lib64/php/modules/posix.so' - /opt/php53s/usr/lib64/php/modules/posix.so: undefined symbol: php_checkuid_ex in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/opt/php53s/usr/lib64/php/modules/pspell.so' - /opt/php53s/usr/lib64/php/modules/pspell.so: undefined symbol: php_checkuid in Unknown on line 0

Warning: PHP Startup: recode: Unable to initialize module
Module compiled with module API=20090626
PHP    compiled with module API=20121212
These options need to match
 in Unknown on line 0

Warning: PHP Startup: redis: Unable to initialize module
Module compiled with module API=20090626
PHP    compiled with module API=20121212
These options need to match
 in Unknown on line 0

Warning: PHP Startup: snmp: Unable to initialize module
Module compiled with module API=20090626
PHP    compiled with module API=20121212
These options need to match
 in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/opt/php53s/usr/lib64/php/modules/soap.so' - /opt/php53s/usr/lib64/php/modules/soap.so: undefined symbol: zval_property_ctor in Unknown on line 0

Warning: PHP Startup: sysvmsg: Unable to initialize module
Module compiled with module API=20090626
PHP    compiled with module API=20121212
These options need to match
 in Unknown on line 0

Warning: PHP Startup: sysvsem: Unable to initialize module
Module compiled with module API=20090626
PHP    compiled with module API=20121212
These options need to match
 in Unknown on line 0

Warning: PHP Startup: sysvshm: Unable to initialize module
Module compiled with module API=20090626
PHP    compiled with module API=20121212
These options need to match
 in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/opt/php53s/usr/lib64/php/modules/tidy.so' - /opt/php53s/usr/lib64/php/modules/tidy.so: undefined symbol: zval_property_ctor in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/opt/php53s/usr/lib64/php/modules/wddx.so' - /opt/php53s/usr/lib64/php/modules/wddx.so: undefined symbol: zend_unmangle_property_name in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/opt/php53s/usr/lib64/php/modules/xmlreader.so' - /opt/php53s/usr/lib64/php/modules/xmlreader.so: undefined symbol: zval_property_ctor in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/opt/php53s/usr/lib64/php/modules/xmlrpc.so' - /opt/php53s/usr/lib64/php/modules/xmlrpc.so: undefined symbol: php_XML_GetErrorCode in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/opt/php53s/usr/lib64/php/modules/xmlwriter.so' - /opt/php53s/usr/lib64/php/modules/xmlwriter.so: undefined symbol: zval_property_ctor in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/opt/php53s/usr/lib64/php/modules/xsl.so' - /opt/php53s/usr/lib64/php/modules/xsl.so: undefined symbol: zval_property_ctor in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/opt/php53s/usr/lib64/php/modules/zip.so' - /opt/php53s/usr/lib64/php/modules/zip.so: undefined symbol: zval_property_ctor in Unknown on line 0
PHP 5.5.10 (cli) (built: Mar 11 2014 17:37:46)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
mysql  Ver 15.1 Distrib 10.0.9-MariaDB, for Linux (x86_64) using readline 5.1