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.. 🙂
Hi Mark,
Is there a small chance I could pay you to help me resolve my wp-admin issue?
Michael, have you created a support thread at WordPress.org? https://wordpress.org/support/
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.
Yeah, they upgraded it on June 16th. Everything seems to be working fine. PHP 5.4.41 also seems to use less memory than 5.3,
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.
Yes, they did. The lines had to be commented out so that the scripts would use the new version:
# 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/
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).