PHP-FPM Error 500 When adding new domain
hi
after adding a new domain, i got the following error when calling a php script:
[Tue Feb 24 11:01:02.408674 2015] [fastcgi:error] [pid 18683] (2)No such file or directory: [client 129.132.203.169:59218] FastCGI: failed to connect to server "/var/www/clients/client4/web55/cgi-bin/php5-fcgi--80-demo.domain.com": connect() failed [Tue Feb 24 11:01:02.408750 2015] [fastcgi:error] [pid 18683] [client 129.132.203.169:59218] FastCGI: incomplete headers (0 bytes) received from server "/var/www/clients/client4/web55/cgi-bin/php5-fcgi--80-demo.domain.com"
hence in the browser i got an error 500 after a lot of research and restarting services etc i found that when doing
service php5-fpm reload/reload
i got
stop: Unknown instance: php5-fpm start/running, process 5748
finally, the issue could be solved by
pkill -KILL php service php5-fpm start
this i found here, where they had a similar issue: http://i-mscp.net/index.php/Thread/5744-after-installation-php-sites-doesen-t-work-on-client-webs/
they provided a fix for their control panel: https://github.com/i-MSCP/imscp/commit/49183aa1830b56e6b625fe37dc2bb34dee56649f
so this might also be the case with ispconfig?