Home  >  Article  >  Backend Development  >  如何实现在本地计算机两个版本的php可以切换主要是5.2和之上的版本

如何实现在本地计算机两个版本的php可以切换主要是5.2和之上的版本

WBOY
WBOYOriginal
2016-06-06 20:37:581025browse

如何实现在本地计算机两个版本的php可以切换主要是5.2和之上的版本

回复内容:

如何实现在本地计算机两个版本的php可以切换主要是5.2和之上的版本

windows 下的 phpStudy 也挺灵活的。

你要是用的 windows easyphp 自带切换功能。

用的wampserver,蛮好用的,php、Apache、Mysql如果你安装了不同的版本,自由切换很简单的

用nginx服务器,配置不同的虚拟主机,装两个PHP,开启不同的端口,分别监听不同PHP版本的端口。

装2套集成环境,用一个停一个。我这边就是apache 和 nginx 2套,PHP版本也是一样

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn