11.12.2020»»пятница

Xampp Older Version

11.12.2020

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. Join our mailing list. Apache Friends (Free) Advertisement. XAMPP 7.4.11 Released: 6th Dec 2020 (a few seconds ago) XAMPP 7.4.10 Released: 6th Dec 2020 (a few seconds ago) XAMPP 7.4.9 Released: 6th Dec 2020 (a few seconds ago) XAMPP 7.4.8 Released: 6th Dec 2020 (a few seconds ago). Use PHP version for XAMPP version Updated PHP to 5.5.19 Updated MySQL to 5.6.21 Updated phpMyAdmin to 4.2.11 Update OpenSSL to 1.0.1j New XAMPP welcome page (beta) Changes for v1.8.3-4 - v1.8.3.5. Updated OpenSSL to 1.0.1i Updated Apache to 2.4.10 Updated PHP to 5.5.15 Updated MySQL to 5.6.20 phpMyAdmin 4.2.7.1.

Why switch between PHP versions when you can use multiple PHP version at a same time with a single xampp installation? With a single xampp installation, you have 2 options:

  1. 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.
  2. Run an older PHP version on a separate port of xampp: Sometimes you may be upgrading and old project to latest PHP version when you need to run the same project on new and older php version back and forth. Then you can set an older PHP version on a different port (say 8056) so when you go to http://localhost/any_project/ xampp runs php 7 and when you go to http://localhost:8056/any_project/ xampp runs php 5.6.
Xampp older version for windows 10

Lets set it up.

Step 1: Download PHP

Xampp Php Versions

So you have php 7 running under xampp, you want to add an older php version to it, say php 5.6. Download the php zip archive from here and extract the files under c:xamppphp56.

Step 2: Configure php.ini

XAMPP is a completely free, easy to install Apache distribution containing MySQL, PHP, and Perl. XAMPP 7.4.11 Old Versions XAMPP 7.4.10 XAMPP 7.4.8 XAMPP 7.4.7. Apache Friends offer older versions of XAMPP through SourceForge, allowing developers to download the version that most closely resembles their server environment, but unhelpfully don’t supply a version history.The table below details the versions of Apache, MySQL, and PHP included in each version of XAMPP.

Open c:xamppphp56php.ini file in notepad. If the file does not exist copy php.ini-developmentto php.ini and open it in notepad. Then uncomment the following line:

Step 3: Configure apache

Open xampp control panel, click config button for apache, and click Apache (httpd-xampp.conf). A text file will open up put the following settings at the bottom of the file:

Note:You can add more versions of PHP to your xampp installation following step 1 to 3 if you want.

Step 4 (option 1):[Add Directories to run specific PHP version]

Now you can set directories that will run in php 5.6. Just add the following at the bottom of the config file to set directories.

Step 4 (option 2):[Run older PHP version on a separate port]

Now to to set PHP v5.6 to port 8056 add the following code to the bottom of the config file.

Xampp Old Version Php 5.3

Finish: Save and Restart Apache

Save and close the config file, Restart apache from xampp control panel. If you went for option 2 you can see the additional port(8056) listed in your xampp control panel.

Xampp Older Versions

Reference: