This article describes how to install PHP, mysql, and apache in WampServer. if you want to debug a PHP program, some functions used in this program cannot be used in earlier versions. Therefore, you can only create a later version of php.
As Web developers, installing different versions of php on machines, apache and mysql are sometimes necessary.
The following are
PHP of different versions:
Apache of different versions:
Here I will illustrate how to install php5.3.10.
Operation method:
Choose "PHP"> "Version"> "Get more..."> "open the webpage and you will see the following:
Then, click PHP (red box)
I want to install PHP5.3.1 here. find the corresponding version and download it. then I can change it for installation.
After the installation is complete, you can find multiple php5.3.10 directories under the wamp installation directory \ bin \ php.
Restart wamp.
The tray icon is left-click-> PHP-> Version to switch to different php versions.
The installation method of Apache and Mysql is the same, so it is not detailed here.