my WordPress dashboard was showing notification update PHP version 7.4. and current time my WordPress is running 7.3. please help how to update php version.
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.
Hi @Dev19,
Upgrade PHP to 7.4
The first important thing to know is that you won’t be actually upgrading the PHP version but installing the newest one as well.
You’ll need to add the proper repositories
Next depending on your WebService - Nginx/Apache you have different steps.
Let’s start with the Nginx requirements:
To check this afterwards run
Now if you are using Apache :
Now that you have the PHP version, you’ll need to install some extensions. You can do it like so
The most common extensions can be installed with the following command
That’s it.
Regards, KDSys