<p>新版phpStudy,支持自定义php版本,只支持php5.3.0以后的任意版本。只要下载php5.3.0以上的版本,扔到php目录下即可,剩下的事由程序搞定,自动配好。</p><p><strong>下面教程以php-5.3.29和php-7.1.0RC5-nts为例</strong></p><p>下载php-5.3.29和php-7.1.0RC5-nts两个zip压缩包,解压出来。如下图。</p><p><p style="text-align: center;"><img src="/upload/content/20200425/1587744268342578.jpg" alt="phpstudy切换php版本,php-5.3.29切换php-7.1.0"title="phpstudy切换php版本,php-5.3.29切换php-7.1.0" width="550px"></p><p>目录重命名,保留版本号及nts ,如下图,复制到phpStudy安装目录的php文件夹即可。</p><p>注意:目录一定要保留版本号及nts 信息。没有nts的php只有apache支持。有nts的版本apache、nginx都支持。</p><p><p style="text-align: center;"><img src="/upload/content/20200425/1587744269333568.jpg" alt="phpstudy切换php版本,php-5.3.29切换php-7.1.0"title="phpstudy切换php版本,php-5.3.29切换php-7.1.0" width="550px"></p><p>关闭phpStudy,重启控制面板,你就会发现菜单中多了php5.3和php7.1。程序已经自动配好php5.3和php7.1。</p><p>注意看下图php5.3和php7.1的区别。php5.3的版本没带nts只有apache支持。</p><p><p style="text-align: center;"><img src="/upload/content/20200425/1587744269258480.jpg" alt="phpstudy切换php版本,php-5.3.29切换php-7.1.0"title="phpstudy切换php版本,php-5.3.29切换php-7.1.0" width="550px"></p><p>切换到php7.1即可,就这么简单。</p><p><p style="text-align: center;"><img src="/upload/content/20200425/1587744269427414.jpg" alt="phpstudy切换php版本,php-5.3.29切换php-7.1.0"title="phpstudy切换php版本,php-5.3.29切换php-7.1.0" width="550px"></p>