My PHP version according to the console is:
PHP 7.3.26 (cli) (built: Jan 5 2021 16:37:31) ( NTS ) Copyright © 1997-2018 The PHP Group Zend Engine v3.3.26, Copyright © 1998-2018 Zend Technologies with Zend OPcache v7.3.26, Copyright © 1999-2018, by Zend Technologies
But in Wordpress it says: Server info: Apache/2.4.46 (Unix) OpenSSL/1.0.2g PHP version: 7.0.33 - We recommend using PHP version 7.2 or above for greater performance and security.
How do I get it to register the correct version?
I’m using Ubuntu 16.04.7 LTS (GNU/Linux 4.4.0-200-generic x86_64).
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!