Anyone have issues with upgrading to PHP with WP already running.
When I get my host to upgrade me to PHP 5 it borks my site and I get this error:
Error message:
Premature end of script headers: php
When we return back to PHP 4.x, all is fine.
Anyone have any experience with shifting to PHP 5?
unixgolf
Member
Posted 2 years ago #
First thing I might try, is disabling all plugins and see if that fixes it. If so, enable each plugin individually, and try the site.
ianhylands
Member
Posted 1 year ago #
I'm having exactly the same issue, I deleted all my plugins as suggested by unixgolf, but that doesn't fix anything.
ianhylands.com
ianhylands
Member
Posted 1 year ago #
I have since completely reinstalled WordPress 3.01 with no other plugins and no other theme. If I delete the wp-config.php file it tells me I need to create one, as soon as I create one I get an error stating "Premature end of script headers: php"
I've trying various edits of the .htaccess file with no luck. Could it have something to do with the php.ini file? All it contains are two lines:
extension=mysql.so
extension=mysqli.so
Current version of PHP is 5.2.6-0.dotdeb.1
thanks!