Premature end of script headers for all PHP files after MySQL Upgrade
Hi,
I recently upgraded MySQL through WHM from 5.1 to 5.6, I backed up all of my databases, but post upgrade, none of my PHP files will execute, even a simple "echo "hello";" hangs for a minute then 500s, the apache error log shows 'premature end of script headers'. All my databases are fine and I can access them through phpMyAdmin in CPanel, permissions seem to be the same as they were before (655), I have checked suPHP and suExec logs and there is nothing of note there, and I have cleared both to ensure they haven't reached their size limit. I have also recompiled apache and PHP (2.2.29 and 5.5.26 respectively).
Does anyone have any idea what might have caused this and how to resolve it?
-
Are you sure PHP didn't get updated at the time of easyapache because this error occurs when php upgraded on the server and different version of PHP can leave residual options in the httpd.conf. Check httpd.conf and if any other php version is mentioned in it then comment it and run distiller. 0 -
permissions seem to be the same as they were before (655)
Hello :) Which permissions are configured as 0655? Do you notice any specific failure messages in /usr/local/apache/logs/error_log ? Thank you.0
Please sign in to leave a comment.
Comments
2 comments