How to upgrade PHP version in Windows 10

{tocify} $title={Table of Contents}

How to upgrade PHP version in Window 10

In this post, we will find out How to update the PHP variation in Windows 10 in XAMPP.

XAMPP is a total setup bundle for the Apache Web Server, MySQL, PHP, Perl, FTP Server, and phpMyAdmin on Linux, Solaris, Windows, and Mac OS X. It likewise permits you to handle Apache Web Server, MySQL, and PHP. In spite of the truth that XAMPP is continuously upgraded, it might be essential to make use of the most current variation of PHP up until XAMPP includes it in its circulation.

You require to follow the following 6 actions to update the PHP variation in Windows 10

Action 1: Open the XAMPP Control Board.

As seen in screenshot 1, open the XAMPP Control board.

Step 1: Open the XAMPP Control Panel.
Action 1: Open the XAMPP Control Board.

Action 2: Open to the Apache Setup Panel.

Beside apache, click the Config button. It will show the setting alternatives showed in screenshot 2.

Step 2: Open to the Apache Configuration Panel.
Action 2: Open to the Apache Setup Panel. Beside apache, click the Config button.

 Action 3: Search to the Config File.

Select the Apache (httpd-xampp. conf) choice, as displayed in Fig 2. It will open the httpd-xampp. conf setup file, as shown in screenshot 3.

Step 3: Browse to the Config File.
Action 3: Search to the Config File.

Action 4: Customize the PHP Setup Course

In screenshot 3, I have actually highlighted a couple of PHP settings. While composing this post, I set up the most newest variation of PHP, PHP 7.4.0, by following How To Set up PHP 7 On Windows. In addition, as seen in screenshot 4, I have actually customized the PHP setup course.

Step 4: Modify the PHP Installation Path
Action 4: Customize the PHP Setup Course

 Step 5: Conserve the setup and begin Apache.

Conserve your adjustments and begin Apache Web Server. As shown in screenshot 5, it will show the Apache status.

Step 5: Save the configuration and start Apache.
Step 5: Conserve the setup and begin Apache.

Action 6-- Validate PHP

In this action, we will inspect the PHP variation that XAMPP is utilizing. Open a web browser and type http://localhost into the address bar. The XAMPP Control panel will be shown. Now, as displayed in screenshot 6, click the PHPInfo Link to see the PHP info page.

Step 6 - Verify PHP

It shows the most current PHP variation, PHP 7.4, as displayed in Fig 6.

Summary

We checked out how to utilize various variations of PHP with XAMPP by setting up the apache setup file in this post. I have actually detailed all of the actions essential to update the PHP provided by XAMPP to the most current variation of PHP, PHP 7.4.

Post a Comment

Previous Post Next Post