I’ve been trying to tackle this issue, but I’m a hopeless non-developer. Is it possible for someone to detail how to do both of these tasks I’ve mentioned in the title in great, tedious detail for me, in language that a four year old (wait; THREE year old) might be able to understand? Good golly, I’d desperately appreciate the help. Thank you.
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.
Click below to sign up and get $100 of credit to try our products over 60 days!
Hi @teresamwyss,
First, to check your php version, you just need to SSH to your droplet and type in
As for upgrading the PHP version, You can’t upgrade it, you can just install a new one.
To be able to install a certain PHP version, in this case, 7.4 you’ll need to add a certain repository to your system
Update the repository index.
Install PHP 7.4 with the below command.
To install extensions run
The above are the required extensions for a simple WordPRess installation. Having said that it’s good to have these extensions as well.
That’s it, you now have the latest PHP version installed.