Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-19, 02:28:00

Author Topic: php53s confilitcs with php55 from remi !  (Read 8938 times)

0 Members and 1 Guest are viewing this topic.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php53s confilitcs with php55 from remi !
« Reply #15 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.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: php53s confilitcs with php55 from remi !
« Reply #16 on: 2014-03-29, 07:19:07 »
I tried reboot.  sh /script/restart-web fails, same php-fpm error.
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php53s confilitcs with php55 from remi !
« Reply #17 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.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: php53s confilitcs with php55 from remi !
« Reply #18 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?
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php53s confilitcs with php55 from remi !
« Reply #19 on: 2014-03-29, 14:22:01 »
Inform here:
Code: [Select]
ps aux|grep 'fpm'|grep -v 'grep'
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: php53s confilitcs with php55 from remi !
« Reply #20 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 ~]#
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: php53s confilitcs with php55 from remi !
« Reply #21 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 ~]#
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: php53s confilitcs with php55 from remi !
« Reply #22 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.
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php53s confilitcs with php55 from remi !
« Reply #23 on: 2014-03-29, 16:19:38 »
Hmm. Delete '/home/php-fpm/sock/apache.sock' file.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: php53s confilitcs with php55 from remi !
« Reply #24 on: 2014-03-29, 16:53:58 »
Same result.  Error.
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: php53s confilitcs with php55 from remi !
« Reply #25 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

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine

Page created in 0.042 seconds with 21 queries.

web stats analysis