Report this

What is the reason for this report?

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

Posted on April 7, 2019

Hi,

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 7.0.33-5+ubuntuu14.04+deb.sury.org+1 (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.

Thanks



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.

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: https://www.php.net/supported-versions.php

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.