No video

How to update PHP7 to PHP8 - Step by Step Guide 2022

  Рет қаралды 20,091

Master2Teach

Master2Teach

Күн бұрын

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/

Пікірлер: 6
@MH-gc2hr
@MH-gc2hr 6 ай бұрын
Gives errors of Apache missing dependencies, rollback doesn't work.
@rrinquen
@rrinquen 2 күн бұрын
You left out a critical step: Updating 7.x code for 8.x compatibility. It's an essential but very frustrating project, as all the tutorials online assume the reader is an experienced developer or is using a specific platform. I've found no tool that simply reads the 7.x code and flags incompatible lines, hopefully including revision advice.
@user-yf5yp5tz6g
@user-yf5yp5tz6g Жыл бұрын
I faced a problem ... when I upgrade like what you said ... but now I faced a problem with (Apache Shutdown)
@EmaRadovanovic
@EmaRadovanovic Жыл бұрын
Hi, is it for localhost? How to upgrade on provider host-server?
@draftfaith7702
@draftfaith7702 Жыл бұрын
thanks sir!!!
@pranansubba9587
@pranansubba9587 Жыл бұрын
Ramro lagyo
I really need to check php compatibility
10:43
Daniel Persson
Рет қаралды 3,1 М.
How to store WordPress media files to Amazon S3 bucket
15:20
Master2Teach
Рет қаралды 16 М.
а ты любишь париться?
00:41
KATYA KLON LIFE
Рет қаралды 3 МЛН
女孩妒忌小丑女? #小丑#shorts
00:34
好人小丑
Рет қаралды 56 МЛН
Thoughts About Unit Testing | Prime Reacts
11:21
ThePrimeTime
Рет қаралды 219 М.
How To Change PHP Version Of Your Xampp Server Easy and Quick
12:42
Ernest Chuks Tech
Рет қаралды 3,7 М.
Critical programming issues preventing a PHP 7 upgrade
26:07
Beachcasts Programming Videos
Рет қаралды 2,9 М.
Web Scraping Made EASY With Power Automate Desktop - For FREE & ZERO Coding
13:11
From Laravel 5 to Laravel 10: What ACTUALLY Changed?
10:17
Laravel Daily
Рет қаралды 19 М.
7 Wordpress Plugins I install on all websites (2024)
15:07
Rino de Boer
Рет қаралды 318 М.
How to Update PHP in Ubuntu (to any version)
7:10
Tony Teaches Tech
Рет қаралды 30 М.
How to Upgrade or Downgrade PHP version in Xampp 100% working
6:49
Web Tech Knowledge
Рет қаралды 44 М.
а ты любишь париться?
00:41
KATYA KLON LIFE
Рет қаралды 3 МЛН