[ad_1]
I just attempted to manually update my site’s WordPress as the version was outdated.
Now it comes up with “Your server is running PHP version 5.6.40 but WordPress 6.5.3 requires at least 7.0.0.”
I believe this might be linked to a maintenance file, but I can’t locate a maintenance file to delete it.
Any guides that may be able to help me with this?
[ad_2]
no.. you need to upgrade php. 5.6 is SUPER old.
You can upgrade PHP through cPanel, but if you don’t know how, just call support at your hosting company. It’s super simple to update.
You’ll need to update your version of PHP via CPanel. However, it’s possible upgrading could break things in your theme or plugins if they are equally old. Make a backup of everything just in case even though you should be able to switch PHP versions back to something else if needed.
PHP is currently at version 8.3…. you’re a long way behind. You need to keep on top of updates.
Where is your website hosted?
Mosts hosts will make it easy to update PHP to the latest version in your host’s control panel, but I have encountered some weird stuff on subpar hosts like GoDaddy. A friend of mine had a site hosted with GoDaddy and they told me that his site was hosted on one of their really old servers so it was impossible to update to the latest version of PHP. We had to upgrade his hosting package to a different one on a newer server box. Hopefully that won’t be the case for you, and you can simply go to the php version area of your host’s control panel and update it. Be sure to back up everything though before you touch anything!
It isn’t connected to a maintenance file but the PHP version on the server where your website is hosted. The version of PHP you have running currently was depreciated in December 31 2018, more than 5 years ago. The current version is 8.3.
Do you have website hosting or WordPress hosting? Do you have access to C Panel?
It also may not be as simple as updating your PHP version. Depending on your theme and the plugins if they been updated to be compatible with the current PHP version, you’re in for a lot of updating and some parts of your site may break.
Thanks for your responses. I have never been able to access cPanel. Can I manually update PHP by FTP?
Soon to require 7.4.
If you are hosted (website as well not only domain) with Crazydomains then you can follow their instructions.
https://www.crazydomains.com/help/article/how-to-change-your-php-version-in-cpanel-hosting
Your web host will have to help you update php.
upgrade your php to atleast 8.1
7.4 is the minimum but it’s already obsolete and can be vulnerable. Now that PHP is releasing on shorter cycle, you may need to upgrade as they are no longer supported.