Xampp Version Php

While using XAMPP for web development, there can be a point when you may require to update or change PHP version or say MySQL version in order to obtain some specific result. In this tutorial for beginners, I will show you how to change PHP version in XAMPP that too without reinstalling XAMPP.

Run an older PHP version for only the directory of your old project: This will serve the purpose most of the time, you may have one or two old projects that you intend to run with older PHP version. Just configure xampp to run older PHP version only for those project directories. In case you also need to instal a database manger like MySQL or a language fr the server like PHP, that task gets even harder. Thanks to XAMPP you'll be able to install Apache + PHP + MySQL in just 5 minutes. Forget log and hard steps, you only need to follow steps given by this easy wizard.

To update the PHP version in XAMPP, you don’t have to reinstall XAMPP. Rather you can change PHP version by following a few simple steps explained below. And this approach saves you a lot of time and effort you may have consumed in reinstalling XAMPP. And those who still struggling about how to install XAMPP would surely find this article helpful. The PHP version requirement varies with the project specifications. You may need to employ a different version of PHP in XAMPP for one of your particular project.

Now I will show you how quickly you can check PHP version in XAMPP. Also, how to update PHP version in XAMPP and change PHP version XAMPP. Check out what is php? Let’s get started !!

How to Change PHP Version XAMPP

As we know XAMPP is an open source solution that serves as a local web server to develop and test PHP projects. And every project has its own requirement of PHP as well as MySQL version and you are bound to set up the required versions so as to get the desired results. The latest version of PHP 7 has come up with incredible features and compatibility. If you are planning to reinstall XAMPP (thinking to make it compatible with the latest or the previous version of PHP) then you should have the clarity of method. And the process of reinstalling XAMPP comprises the following:

  • phpMyAdmin back up
  • Copying htdocs files
  • Copy the php.ini file content (required ones)
  • Take back up of the entire XAMPP folder in a new folder.
  • Delete older XAMPP (after back up)

Be extremely careful while backing up required data and deleting older XAMPP in order to install the new one.

Certainly, you won’t prefer to get caught up in this intricate situation where you’re likely to lose data. And the chances of losing data are greater if you make any mistake. Hence, no room for negligence and unprepared actions.

However, this makes sense to omit this crucial sitch by opting the other feasible solution that will help you update PHP version XAMPP in a few simple steps.

Steps to Update PHP Version in XAMPP

Step 1: First off download the needed version of PHP from https://windows.php.net/download#php-7.0 and unzip the folder and name it. Make sure you don’t name it something confusing with simple PHP. And now extract the content of the zip file.

Step 2: If there’s any custom configuration in the php.ini file, then you need to copy and replace the entire content with the new one. However, if you haven’t made any changes to this file then you can skip this step.

Step 3: Now, open the XAMPP server. And click on the ‘Config’ button in the Action column parallel to Apache. Now you can see the configuration files of Apache, open the “httpd-xampp.config” from here.

Step 4: Go to PHP-Module section, and comment the following lines of code and add the new two lines instead.

That’s all. Simply restart the XAMPP and you’re good to go.

Now, you are ready to Change PHP Version in XAMPP

So this is how you can check PHP version in XAMPP and also update PHP version in XAMPP hassle-free. Since PHP is the foundation of any project so you need to keep it updated all the time. And XAMPP, on the other hand, it yields you the platform to test your project with ease. In case you have an old installation of XAMPP that is messed up with lots of file, you may refer to this article in order to completely update XAMPP. If you are a beginner, then the chances of getting stuck in the web development process are higher. Whereas, using a website builder can help you achieve that in no time. And if you’re using TemplateToaster website builder software then you don’t have to bother about anything. It is one of the strongest website builders present in the market. Try it to believe it!! And don’t forget to share your experience with me in the comments below. Also, if you need any support or face any issues, while XAMPP change PHP version, then do let me know.

Start a personal dev blog on your domain for free with Hashnode and grow your readership.
Raghootham V Kalkeri

Let's start with updating php 7.4 in xampp

  • Xampp ( Installed)PHP version 7.4 complied file

#Next Steps to follow

  • Step one click the link to get latest version of php

Select VC15 x64 Non Thread Safe (2020-Nov-24 15:08:39)In that click on zip file (24.85MB) to download

Wait for while it's downloading

  • After Download Goto Download folder and you will get zip file named as (php-7.4.13-Win32-vc15-x64.zip).

Extract the files in Desktop or wherever you need

  • After Extraction now goto xampp folder here you will get folder of phprename the file php -> php_old or whatever you choose to
  • Now goto the folder where you extracted the all filesand select all the files and copy
  • After selecting goto xampp folder and create new folder as phpNext->goto php folder and paste the all files there

Now run Xampp Application

In Apache row select config

  • Under config -> select (Apache httpd-xampp-conf)
  • Open it notepad to edit the fileIn that you should change three line

Update Xampp Php Version

Done now restart your xampp applicationyou will be done

To check the version of php goto commond prompt and type

Easyphp vs xampp. XAMPP is ranked 3rd while EasyPHP DevServer is ranked 6th. The most important reason people chose XAMPP is: Port 443 is in use from Skype. You can change the port in Skype. XAMPP vs EasyPHP: Which is Better? XAMPP is an easy to install Apache distribution containing MariaDB, PHP and Perl. Developed by Apache Friends. License: Open Source. Categories: Development. Apps available for Mac OS X Windows Linux PortableApps.com. Compare XAMPP VS EasyPHP and see what are their differences XAMPP is a free and open-source cross-platform web server that is primarily used when locally developing web applications. EasyPHP installs a portable local WAMP server including the server-side scripting language: PHP 5, the web Server: Apache 2, the SQL Server: MySQL 5, a database manager: PhpMyAdmin and others development tools.

That's for this blog **Hope you learnt how to update php for xampp

if you learnt how to install php for xampp you can buy me a coffee ☕**

Start a personal dev blog on your domain for free and grow your readership.

Last Version Of Xampp With Mysql

3.4K+ developers have started their personal blogs on Hashnode in the last one month.

Download Xampp Control Panel V3.2.2

Write in Markdown · Publish articles on custom domain · Gain readership on day zero · Automatic GitHub backup and more