Want to improve this开发者_运维百科 question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this questionI 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
Install the 2 php versions to unique paths.
Install 2 apache's each running on a different port
Setup each apache conf to use a different php version
精彩评论