Control Web Panel

WebPanel => PHP Selector => Topic started by: DangerD2 on October 24, 2020, 08:27:05 AM

Title: PHP-FPM Selector php 5.6 issue
Post by: DangerD2 on October 24, 2020, 08:27:05 AM
Some of websites are using old php 5.6

Code: [Select]
Starting php-fpm [24-Oct-2020 11:19:52] ERROR: An another FPM instance seems to already listen on /opt/alt/php-fpm56/usr/var/sockets/cwpsvc.sock
[24-Oct-2020 11:19:52] ERROR: FPM initialization failed
 failed

And php error in log :
Code: [Select]
PHP Fatal error:  Call to undefined function mysql_connect() in ...
Any suggestions? It worked before well and stopped after server reboot..

Title: Re: PHP-FPM Selector php 5.6 issue
Post by: DangerD2 on October 24, 2020, 09:33:23 AM
Installed php5.5 works fine, 5.6 not starting
Title: Re: PHP-FPM Selector php 5.6 issue
Post by: Sandeep on October 24, 2020, 05:25:52 PM
did you tried restarting the server ?
Title: Re: PHP-FPM Selector php 5.6 issue
Post by: DangerD2 on October 26, 2020, 01:12:24 PM
did you tried restarting the server ?
yes, after whole server restart is stopped to work