I updated PHP on my server, but WordPress doesn't recognize the update.


I’m trying to get WordPress to recognize and use PHP 7.0.33-5 I have installed on my server.

When I type php -v on my server, I see the following:

PHP (cli) (built: Mar 8 2019 10:07:09) ( NTS )

I’ve restarted my apache2 server after this, as well.

However, when I log into WordPress, I get a message telling me that…

WordPress has detected that your site is running on an insecure version of PHP.

Any ideas how I can get this working? It should be noted I don’t use Linux too often and not an expert at it.



Submit an 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.

You’re seeing that message because php 7.0 no longer receives security updates. You’ll need to upgrade to 7.1 or higher. You can see the supported versions here: