开发者

setup two php versions in a one machine [closed]

开发者 https://www.devze.com 2023-03-23 15:18 出处:网络
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this开发者_运维百科 question? Update the question so it's on-topic for Stack Overflow.
Closed. This question is off-topic. It is not currently accepting answers.

Want to improve this开发者_运维百科 question? Update the question so it's on-topic for Stack Overflow.

Closed 11 years ago.

Improve this question

I was asked in an interview.

How can we set up two different php version ex:php v 5.0 and php v 5.3 in a single machine?

Is it possible to do it with apache?

Thanks


  1. Install the 2 php versions to unique paths.

  2. Install 2 apache's each running on a different port

  3. Setup each apache conf to use a different php version

0

精彩评论

暂无评论...
验证码 换一张
取 消