Рет қаралды 2,298
In this video tutorial, we will learn how to update the php version from 7 to 8 and resole the Wordpress Dashboard issue.
I have just installed the fresh WordPress site on my domain Lokanthali.com.
In my WordPress dashboard, wp alerted that the PHP update recommended.Your site is running an insecure version of PHP 7.2 which should be updated.
Let’s see how to get rid of this message by updating the PHP version of your live server.
In my previous video,
• How to update PHP7 to ...
I showed you how to update the PHP version in the local computer xampp whereas in this video we are going to update the PHP version on the live site.
I have hosted my site on NameCheap. You can see the site master2teach.com/ as well which is also hosted on the same server where you can get lots of information on different technologies including AWS and software engineering.
Here is my other domain: lokanthali.com where I am updating the PHP version.
Before jumping to the solution, we can check the currently running PHP version in the server ever easily.
Navigate to your file manager and on the root folder path create a new file.
I'm giving it the name phpinfo.php
Here it is. Select to edit it.
Insert a simple PHP script on it.
Php open tag
PHP function phpinfo.
And end the PHP tag.
Save and open in the browser. It’s running 7.2
Let’s update it to 8
Navigate to the control panel and open it.
Here in the control panel, navigate to select the PHP version link on the exclusive for NameCheap customers section.
Here you can see 7.2 is the current version of PHP and from the drop-down, you can change it very easily. Let me go with 8.0 and set it as current.
Let’s check over here. Refresh the page. Great it showing PHP version 8.0
Now moving to WordPress, let’s refresh the page. Boom … It's all gone.
In this way, we can update the PHP version on the live server.
Don’t forget to like, share, and subscribe to the channel if you haven’t already. See you all in the next video tutorial. Bye.
SUBSCRIBE to our KZfaq channel for more videos: www.youtube.co...
Like us on Facebook: / master2teach
For more content go to master2teach.com/