How to downgrade Wampserver PHP and Apache?

天涯浪子 提交于 2019-11-28 06:24:44

问题


I have a project that runs on Apache 2.2.21 and PHP 5.3.10. I installed the latest wampserver which have Apache 2.4.4 and PHP 5.4.16. How can I downgrade the version?

I also have a project that runs in the latest and not in the old version that's why I can't install the old version of wampserver. In my wampserver I installed the Apache and PHP which is old version. But after installing it and restarting my server. I can't run the Apache and PHP. If I start the version of Apache it says the PHP version is not compatible. And if I enable the PHP it says the Apache is not compatible with the version of Apache.

Can you give me an idea how to do it?


回答1:


left click wamp> php>version> get more>

select the version ytou want and download it.

install the exe.

left click wamp> php> version> php xxx.x

UPDATE: I have further investigated: to switch between that 2 version seems not that simple... please check this guide, it has very detailed information

and this maybe also help




回答2:


Just go to wamp home page. At the bottom of the page you'll find links (big yellow buttons, you can't miss them) towards apache and PHP addons. Install some of them and you'll be able to be between several versions of apache and PHP from wamp's menu.



来源:https://stackoverflow.com/questions/22237695/how-to-downgrade-wampserver-php-and-apache

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!