I have just rebuilt Apache with MPM Worker. The rebuild completed successfully with no errors. Apache restarted as expected, but then none of our PHP sites worked. I checked under SuExec/PHP page and found there was no DSO to select.
Any ideas?
I have just rebuilt Apache with MPM Worker. The rebuild completed successfully with no errors. Apache restarted as expected, but then none of our PHP sites worked. I checked under SuExec/PHP page and found there was no DSO to select.
Any ideas?
Anyone?
I ran the rebuild_phpconf script and it said:
Available handlers: dso fcgi cgi none
warn [Cpanel::PHPConfig] Unexpected output from /usr/bin/php -v :
PHP4 SAPI: not installed
warn [Cpanel::PHPConfig] Unexpected output from /usr/bin/php -v :
PHP5 SAPI: not installed
SUEXEC: available
So I checked php.conf file and it seems EA forgot to add:
# LibPHP5 configuration
LoadModule php5_module modules/libphp5.so
AddType application/x-httpd-php .php5 .php4 .php .php3 .php2 .phtml
I saved the changes and restarted Apache, but now it won't start!!!
Any help appreciated.
Server rebooted. Same result. No errors in error_log or messages log relating to why Apache won't start.
Any ideas?
It's OK, this was resolved yesterday. I updated that ticket assigned to you regarding Suhosin being the cause.
For anyone who receives this issue themselves, turns out Suhosin 0.9.27 and PHP 5.2.10 have compatibility issues. The issue causes PHP to crash and Apache fails to start unless Suhosin is commented out. This only appear to occur if you're using MPM Worker. MPM Prefork isn't affected.
The issue has been resolved in Suhosin 0.9.28. Version 0.9.29 was released recently, which has been raised with cPanel to include with EA as soon as possible.