Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Christian Weiske's Blog:
Running Apache with a dozen PHP versions
Mar 16, 2010 @ 17:38:43

After putting together an example setup of how to run multiple PHP versions all on the same machine with as little hassle as possible, Christian Weiske is back with the second half - putting those multiple versions into Apache.

After showing you how to set up multiple PHP versions on a single machine, it's time to explain how to stuff all those compiled php-cgi executables into a single Apache web server instance.

The key lies in using the mod_fastcgi module for Apache rather than the usual mod_php one. Each PHP version gets its own CGI server and the versions are changed based on the virtual host names.

tagged: apache multiple version fastcgi

Link:


Trending Topics: