How to change php version in wamp server
- Upgrade wamp server
- Update version of php without uninstalling wamp server
- Upgrade without interuption
Many times we need come across situation where we are required to use specific version of php of higher version of the existing php we have installed in our system. Mostly for development environment we prefer using wamp or xamp. And through this post I will be guiding you to upgrade your php version in your existing wamp server also I will guide you to update existing wamp server wihtout uninstalling or lossing backup
Head over to Repository of Wampserver files, which host bunch of versions of wamp server executables, PHP, MySQL, MariaDB versions. https://wampserver.aviatechno.net/
The best thing of this site is, each module/part can be updated independently without affecting the other module
Wamp server executables
- Combo fo all major versions
Phpmyadmin vesions available
- Phpmyadmin 4.9.7
- Phpmyadmin 5.1.1
PHP vesions available (bith 32 and 64 bit)
- PHP 5.6.40
- PHP 7.0.33
- PHP 7.1.33
- PHP 7.2.34
- PHP 7.3.28
- PHP 7.4.20
- PHP 8.0.7 etc
MySQL vesions available (bith 32 and 64 bit)
- MySQL 5.1.72
- MySQL 5.5.62
- MySQL 5.6.51
- MySQL 5.7.34
MariaDB vesions available (bith 32 and 64 bit)
- MariaDB 5.5.62
- MariaDB 10.1.48
- MariaDB 10.2.38
- MariaDB 10.3.29
- MariaDB 10.4.19
- MariaDB 10.5.10
So, to update the versions?
- First take backup of all your databases
- Backup all your projects from C:/wamp/www (C:/wamp64/www)
- Back your virtual hosts if any
Although there is very low chances of lossing data, still no one knows. Make sure to backup everything before proceding.
To update you php version from any older version to new version, simply go to this site https://wampserver.aviatechno.net/ find the php version you want and download the executables that you want. Afer downloading the executables, simply run as usual.
There might be message that this php version is not supported in this version of wamp. In that case simply download the wampserver updated and install that. Now you should be able to install the desired php version you want.