PHP update needed

Web hosting discussion, programming, and shared and dedicated servers.
5 posts Page 1 of 1
by bnoble@sonic.net » Tue May 07, 2019 3:23 pm
Hi,
I need to update my php to 5.6 since 7.3 isn't available yet on Http://bobseyes.net .
I was going to try to do it but there's a note from Drew.Philips at the top of .htaccess that I don't understand so could someone at Sonic.net have a look and take care of it.
Thanks,
Bob
by drew.phillips » Tue May 07, 2019 4:44 pm
Hi Bob!

I made the changes so your site is now using PHP 5.6. The "cgi wrap" configuration that dictates the PHP version in your case is not accessible from FTP or shell.

Let me know if you spot anything strange as a result of the change.
Drew Phillips
Programmer / System Operations, Sonic.net
by soldata » Tue May 14, 2019 10:04 am
Hi Drew:

I have a somewhat similar problem.

I updated the php version on my client's website soldata.com to 5.6.34, screenshot attached of phpinfo.php.

I also used a debug plugin, screenshot also attached. It shows php version 5.3.29

Trying to update to WordPress 5.2, but it says that my php version of 5.3 is insufficient.

Thoughts? Thanks for your help!

Regards, Ned

Attachments

by drew.phillips » Tue May 14, 2019 11:07 am
soldata wrote:
Hi Drew:

I have a somewhat similar problem.

I updated the php version on my client's website soldata.com to 5.6.34, screenshot attached of phpinfo.php.

I also used a debug plugin, screenshot also attached. It shows php version 5.3.29

Trying to update to WordPress 5.2, but it says that my php version of 5.3 is insufficient.

Thoughts? Thanks for your help!

Regards, Ned


Hi Ned,

Thanks for the details and screenshots. The .htaccess file in your site's root directory has the correct "Action" directive to switch to PHP 5.6, but there is also a .htaccess file in the /wordpress/ directory which is still using 5.3 and is taking precedence over the one in the root.

I would suggest leaving the .htaccess in the root as-is, so PHP files there or in other subdirectories without .htaccess files use 5.6. Once /wordpress/.htaccess is updated to use 5.6 as well, Wordpress itself will see the updated version and you should be able to upgrade WordPress to 5.2.
Drew Phillips
Programmer / System Operations, Sonic.net
by soldata » Tue May 14, 2019 12:11 pm
Thanks Drew -- that did the trick!

Regards, Ned
5 posts Page 1 of 1

Who is online

In total there are 2 users online :: 0 registered, 0 hidden and 2 guests (based on users active over the past 5 minutes)
Most users ever online was 422 on Sat May 26, 2012 5:28 am

Users browsing this forum: No registered users and 2 guests