Hello all, I hope you can help. I’ve updated PHP on my droplet (LAMP 16.04) and when I do php -v, it tells me PHP 8.1. But my WordPress install is still seeing PHP 7.0.x. I added phpinfo.php and that ALSO says PHP 7.0.x
How can I make sure that the latest PHP version is the one used? I looked at several tutorials and questions answered and I somehow am not finding the right answer. I tried a couple things and I seem to have munted the droplet, so currently running a restore from yesterday’s backup.
Any assistance would be greatly appreciated.
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.