I have installed php7.4 and installed all the packages and updates. Rebooted my droplet, restarted apache, cleared all caches, etc. My server is running php version 7.4. But my wordpress installation is still using PHP 5.x and warning me about needing to update. I’ve followed every how-to and tutorial. I tried to disable 5.x and the site broke. I’ve looked through .htaccess and wp-config.php, etc etc, there’s nothing conflicting or even mentioning php versions.
Anyone have any advice? is there a way to force wordpress to use php7.4? Where in the wordpress back-end does it even mention which php to use if it won’t default to the newest version?
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!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!