在parrallel中运行php5和php7 [英] Run php5 and php7 in parrallel

查看:89
本文介绍了在parrallel中运行php5和php7的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有php5和php7应用程序.

I have php5 and php7 applications.

php5应用程序与php7不兼容.

The php5 application are not compatible with php7.

如何在同一个apache服务器上同时运行两个运行时?

How can I run both runtime on the same apache server ?

推荐答案

如果您的操作系统是ubuntu,则可以按照以下说明设置Apache的多个实例,一个实例运行PHP 5,另一个实例运行PHP 6.a href ="https://gist.github.com/aaronbloomfield/92c707631a0191152bc7faf0124fd651" rel ="nofollow noreferrer">文章.

If your operating system is ubuntu, then you can set up multiple instances of Apache, one to run PHP 5 and the other to run PHP 6 according to this article.

这篇关于在parrallel中运行php5和php7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆