About a week ago I noticed my wordpress dashboard had a message about insecure php version being used. Said I needed to update. So I found a tutorial here in this 'forum’s and upgraded from 7.0.3(i believe)to 7.4.7(I belive) I am not at my desk at the moment to confirm exact numbers, but the version I am on just came out this month. Yet I still have that message in my dashboard. Is there something i missed?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi @Kaote,
Usually, you can’t upgrade your PHP version but install another one. It seems like you have two PHP versions now and your website is still taking the old one.
What I’ll recommend is to manually specify the exact version you would like to make your website use. Firstly, you’ll need to find out which PHP version you are using. To do so you can create a file called info.php in your website directory. In the file add the following content
<?php phpinfo();
Save and close the file. You can now open the file in your browser. There it will say loaded configuration.
Now that you know which PHP version you are using you can change it by editing either your .htaccess or Nginx configuration file depending on what you are using.
Regards, KDSys
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.