Reputation: 1261
I see everywhere for downgrade php on wampserver I just have to do left click wamp> php>version> get more> And dowload the version I want.
But when I do it I arrive on this page and I don't see any link for download an other php version. I only can download a file php5.2.4.isson this page
So fine I dowload it on php.net and I unzip the archive in my folder "C:\wamp\bin\php\php5.2.4"
Next I copy the files wampserver.conf, php.ini and phpForApache.ini from my folder "C:\wamp\bin\php\php5.5.12" to the folder "C:\wamp\bin\php\php5.2.4"
And to finish I change in the file php.ini and phpForApache.ini the path :
extension_dir = "C:\wamp\bin\php\php5.2.4"
When I restart wamp I have the 2 versions of php the one I use actualy (5.5.12) and the one I want to instal (5.2.4) but when I choose the 5.2.4 my wamp icon became orange and stay like this I don't understand why.
Upvotes: 4
Views: 12704
Reputation: 221
I think best and easiest solution is download older version WAMP ,when installing WAMP you can choose what version of php(default they choose latest version, so attention for that,) do you need, that is work for me. for me need to install to php 7.00 so i tried this wamp 3.2 link here
Upvotes: 0
Reputation: 896
Visit Wampserver Activities and download the desired PHP version then run the package to install. Start the wamp server and try again to left-click wamp> PHP> version > select version
Upvotes: 1
Reputation: 1687
To manually install any version of PHP into WAMP you can follow the following steps...
C:/wamp/php/php5.4.13
(or whatever the version number is)wampserver.conf
file from another PHP folder in wamp to the new folder.php.ini-development
file to phpForApache.ini
Note: If you are adding php version 5.6, you need to copy php5apache2_4.dll
from another php folder in wamp as well otherwise the wamp server wont start.
Upvotes: 12