GuidesTwo PHP's Are Better Than One

Two PHP’s Are Better Than One

ServerWatch content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.




This article discusses a solution for serving Web sites using multiple builds of PHP with one instance of Apache. The solution involves running PHP using the CGI interface and not as an Apache module. Then the AddHandler and Action directives in the httpd.conf file may be configured so that any file ending with a ‘.php’ extension can be executed as a PHP script.

Get the Free Newsletter!

Subscribe to Daily Tech Insider for top news, trends & analysis

Latest Posts

Related Stories