DEV Community

aashiya123
aashiya123

Posted on

How to update PHP in WordPress?

If you own your web server, you can make changes yourself, but if you have hosted your website via a third-party then you need to contact them for making the required PHP changes. But having a third-party, it will not be your job to manage and maintain the updates, they will do it on their own whenever a new version update is available. Same goes with the plugins, themes, and PHP version.

Via cPanel
It also follows the same steps as login into your web hosting account. Then you can look for the software section where you can check the selected PHP version as shown below.

Image description

Click it and you can see the next page displaying the PHP version. From there, you can select the latest version for the PHP as shown below.

Image description
Via WordPress

You can follow the below-mentioned simple steps to check the PHP version.
You can look for the plugin “Display PHP Version” and install it. You can find it in the WordPress repository as shown below.

Image description

You can now activate the plugin. Then navigate to the WordPress dashboard-> home-> at a glance.
You will be redirected to the new page where you will be able to see the PHP version on which your website is running.

Image description

click the Update option available.

Contacting host provider
If you are using a third-party for hosting your website, then you need to contact them for making the required changes. These host providers have skilled persons for making such changes either via code or via interface depending on the changes.

Top comments (7)

Collapse
 
stevenavelino24 profile image
Steven Avelino

PHP is not a language that runs on the web browser, but on the server. Upgrading PHP is not a task that can be done just like that.

First, we have to make sure that the server can install the new PHP version (check with host provided), and make sure that the current version of Wordpress is compatible with that version of PHP, or the site may totally stop working.

Collapse
 
aashiya123 profile image
aashiya123

yes, sure. updated. But making sure of these points are the pre-requisites. I have only mentioned how to do it.

Collapse
 
jerrydmanager profile image
Jeremiah Owolabi

Does anyone know how to add typing DNA Verify to a WordPress Site?

Collapse
 
aashiya123 profile image
aashiya123

try this, if this works for you.

1.) Go to wordpress.org/download/ and download the latest version of Wordpress and Install it., but before then you can use/install XAMPP Server and ensure that PHP and Mysql is installed and Working fine. As of writing,am using the latest Wordpress version which 5.5.1 and it can also works in all versions of Wordpress.

2.) Once Wordpress is installed and running, copy the application folder (typingdnaplugin) from github to Wordpress Plugins folder something like C:\xampp\htdocs\wordpress_test\wp-content\plugins. Copy and paste it there.

3.) Go to your wordpress login Page and Login, if successful, it will take you to the admin Page to make some configurations.

Click on Plugin Links at Admin left side menu down. select plugin named TypingDNA Plugin and click on activate to install the plugin.
4.) Click on TypingDNA Plugin link at the left side page down.
5.) You will see three options
A.) View DNA Registered Users

B.) Add New New DNA Users

C.) DNA API Settings.

First, go to DNA API Settings to setup typing DNA API Keys and Secrets.
Secondly, Goto to Add New New DNA Users to register New User for TypingDNA Enrolments. The Application ensures that you enrolled at least twice as requested by TypingDNA Engineers.
You will need to enter your Wordpress Email Address and UserID. You can use your Wordpress Username as UserId.
Thirdly, View DNA Registered Users shows list of Typingdna Enrolled Users along with their Enrollment Counts. You can also Check Registered Users availability with typingDNA API. You can also delete the user leveraging TypingDNA API.

6.) Once done, You can logout and try to login Again with your Wordpress Credentials and see how your Admin/Users Page will be protected by TypingDNA.

7.) Once successfully login into Wordpress, you will be presented with a TypingDNA 2-Way Factor verification Form requesting you to type your Enrolled Email Address and UserId. but before then, If you try to Access the Wordpress Admin Page Eg:(yoursite.com/wordpress/wp-admin/), It will denied you access telling you that you have not been verified by TypingDNA.

8.) If Users Inputted data is successfully verified by TypingDNA API Call, then Wordpress Admin/Users will finally be granted access otherwise they will be denied access.

Collapse
 
jerrydmanager profile image
Jeremiah Owolabi

Thank you very much, I really appreciate it.The ìssue now is Typing DNA doesn't have a plugin....

Collapse
 
sebacruz profile image
Sebastián Cruz

Why you need to install a plugin to see the PHP version?

Collapse
 
aashiya123 profile image
aashiya123

that is just a step towards installing.

Some comments may only be visible to logged-in visitors. Sign in to view all comments.