My Websites Might Crash Tomorrow

This is just a quick note to say that my websites might quit working or start acting weird later tonight or tomorrow. Actually, most were generating 500 Internal Server errors already today.  I corrected that issue so I can make this post now. The reason is that my webhost, Surpass Hosting is upgrading the server to one of the PHP 5.4 versions from 5.3.28. Oh boy.. :)

7 thoughts on “My Websites Might Crash Tomorrow

  1. Dave

    Have they already upgraded the server you’re on? I’m on Pass99 and haven’t seen any activity in the way of getting PHP upgraded yet.

    Reply
  2. Dave

    Ah, yeah you’re right. Checked CPanel and it was reporting correctly but WooCommerce saw things differently. Turned out there was an htaccess file in the root telling everything to do 5.3 instead, which I think I remember them saying they were going to add to accounts after the update so they wouldn’t break but I’m not completely sure.

    Reply
  3. Mark Headrick Post author

    Yes, they did. The lines had to be commented out so that the scripts would use the new version:

    # Custom Legacy PHP 5.3 handler placed by host
    # AddType application/x-httpd-php53 .php5 .php4 .php .php3 .php2 .phtml
    # suPHP_ConfigPath /usr/local/lib/php53.ini
    # End Custom Legacy PHP 5.3 handler placed by host

    It’s the .htaccess file in the directory above /public_html/

    Reply
  4. Dave

    Yeah, I’m going to have to run through all of my sites now and look for that. I think I’ve gotten spoiled on the PHP switcher in CPanel at A2. Switching to different PHP versions with just a click instead of having to write out the whole htaccess (and figure out how Surpass decided to list the handler).

    Reply