Install old php on WampServer
Posted by: max1850 (151.54.184.---)
Date: November 27, 2017 11:27AM

Hi, I have the wampserver 2.5 environment with the default php 5.5.x installed.
Now I need to install an old version of php, the 5.4.x. I tried following more guides but did not want to go.
I'll explain what I did.
I downloaded the php I needed and put it in the c: \ wamp \ bin \ php folder. I copied the 3 files (php.ini, phpforapache.ini, wampserver.conf) from php 5.5 to this new 5.4.
Then in the first 2 files I modified the php extension_dir path by putting that in php5.4.
I refreshed the server but when I click on php 5.4 the server does not start and the icon remains yellow for some arcane reason.
What is it that does not go?
Thank you
Max

Options: ReplyQuote
Re: Install old php on WampServer
Posted by: Otomatic (Moderator)
Date: November 27, 2017 12:13PM

Hi,

Wampserver 2.5 is no longer supported.
Switch to Wampserver 3 and you can install almost any version of PHP between PHP 5.2.17 and 7.2.0

------------------------------------------------------------------------------------------------------------
Wampserver 3.1.1 32 bit - Apache 2.4.29 - PHP 7.2.0/7.1.12/7.0.26/5.6.32 - MySQL 5.7.20 - MariaDB 10.2.9
Wampserver 3.1.1 64 bit - Apache 2.4.29 - PHP 7.2.0/7.1.12/7.0.26/5.6.32 - MySQL 5.7.20 - MariaDB 10.2.9
PhPMyAdmin 4.7.5 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote
Re: Install old php on WampServer
Posted by: max1850 (151.54.184.---)
Date: November 27, 2017 12:26PM

Finally good news. Great!
After installing wampserver 3 how to install php 5.4?

Options: ReplyQuote
Re: Install old php on WampServer
Posted by: RiggsFolly (Moderator)
Date: November 27, 2017 01:59PM

Follow this link

And download the one or more versions of PHP that you want to use within WAMPServer.

---------------------------------------------------------------------------------------------
(Windows 7 Pro 32bit) (Wampserver 3.0.6 32bit)
<Apache 2.4.23/2.2.31> < 7.2/PHP 7.1/7.0/5.6/5.5/5.4> <MySQL 5.7.10/5.6.17/5.5.28>
<MariaDB 10.1.21> <phpMyAdmin4.7.5> <MySQL Workbench 6.3.6.511>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin -- WAMPServer alternate Repo
-?-?-?- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -?-?-?-

Options: ReplyQuote
Re: Install old php on WampServer
Posted by: max1850 (151.54.184.---)
Date: November 27, 2017 05:21PM

Thanks so much! now everything works! Next ;-)

Options: ReplyQuote


Sorry, only registered users may post in this forum.