Report this

What is the reason for this report?

WordPress not recognising PHP update.

Posted on August 12, 2021

Hi, I updated my PHP version to 7.4 using

add-apt-repository ppa:ondrej/php

apt-get install php7.4

sudo a2enmod php7.4

sudo service apache2 restart

restart

also, I purged all the caches but WordPress still showing a 7.2 error.

Can anyone help, 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.

It worked thank you! But now WordPress shows this error “There has been a critical error on this website.” …

I run the PHP comp checker plugin everything checks out for PHP 7.4 is there anything I can do about that?

The developer cloud

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

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.