Question

WordPress not recognising PHP update.

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.

Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

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?