Рет қаралды 20,091
In this video tutorial, we will see how simply we can update our PHP version to PHP 8.
WordPress alerted me that I'm using PHP 7.3.33 and it should be updated.
Your site is running an insecure version of PHP 7.3.33 which should be updated.
Check the PHP version in phpinfo
It’s running in the php7.3.33 version.
Currently, I’m using xampp in windows 10.
Let’s go step by step.
Step 1: you need to download the latest version of xampp from where we will get the latest version of PHP.
I’m downloading from the sourceforge site. Sourceforge site URL is as follow to download the latest version of xampp.
Download the zip file.
Copy the PHP folder from it. And navigate to your xampp folder. Rename the existing PHP folder with any name like I gave name as underscore backup 7.
Then paste the copied latest version of PHP over here.
Moving to the second step.
Open the xampp control panel. Navigate to the config button of the Apache module. From drop-down list, open the Apache httpd.xampp.conf file.
In this file, we have to update the word php7 to php8.
In the PHP module setup, change php7 to php8 whereas in load module only remove the 7 from php7.
Scroll Down.
Same as above, remove 7 from php7 from all.
Best way to confirm is to search for php7 if we miss somewhere.
Save it.
Step third, we need to restart the apache. Let’s stop and start again.
Check the PHP version on phpinfo again.
It should be running PHP version 8.1.6 now.
Refresh and check in the WordPress admin panel. The PHP versioning issue should be resolved.
In this way, we can upgrade our PHP version to the latest version simply.
I hope it's simple and helpful to you to update the PHP version to the latest version.
Thank you for watching. Please don’t forget to like, share, and subscribe to the channel for the upcoming video tutorials.
SUBSCRIBE to our KZfaq channel for more videos: www.youtube.co...
Like us on Facebook: / master2teach
For more content go to master2teach.com/