4

I'm hosting several websites in a single directory, using Apache virtualHosts. Some of them need PHP 5.2 and others are fine with PHP 5.3. How can I specify which directories use each version and how do I use multiple versions of PHP on one system?

1 Answer 1

6

You would have to run PHP in CGI mode versus as a module for Apache (or atleast the 2nd, 3rd, ..., nth versions).

Here's a fantastic how-to I found on the web for it:

http://gggeek.altervista.org/2007/07/21/running-multiple-php-versions-on-a-single-apache-install/

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.