WordPress.org

Support

Support » How-To and Troubleshooting » Upgrading to PHP5.x on already hosted site ??

Upgrading to PHP5.x on already hosted site ??

  • 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?

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.

    I’m having exactly the same issue, I deleted all my plugins as suggested by unixgolf, but that doesn’t fix anything.

    ianhylands.com

    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!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Upgrading to PHP5.x on already hosted site ??’ is closed to new replies.