WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. mrkingid
    Member
    Posted 4 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
    Member
    Posted 4 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
    Member
    Posted 3 years 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

  4. ianhylands
    Member
    Posted 3 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:
    extension=mysql.so
    extension=mysqli.so

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

    thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic