Upgrading to PHP5.x on already hosted site ?? (4 posts)

  1. mrkingid
    Posted 6 years ago #

    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?

  2. unixgolf
    Posted 6 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.

  3. ianhylands
    Posted 5 years ago #

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


  4. ianhylands
    Posted 5 years 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:

    Current version of PHP is 5.2.6-0.dotdeb.1


Topic Closed

This topic has been closed to new replies.

About this Topic