News Feed
Sections




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

Matthew Weier O'Phinney's Blog:
Running mod_php and FastCGI side-by-side
August 10, 2010 @ 14:06:44

On his blog today Matthew Weier O'Phinney talks about how to run mod_php and FastCGI side-by-side on a Zend Server instance.

I installed Zend Server some time ago, so I'm still on a PHP 5.2 mod_php binary. I have several PHP 5.3 binaries compiled and installed locally for running unit tests and sample scripts already -- so the question was how to keep my 5.2 mod_php running while simultaneously allowing the ability to run selected vhosts in 5.3? The answer can be summed up in one acronym: FastCGI.

He shows how to enable FastCGI in Apache (on Ubuntu), make a virtual host for your site and create a "cgi-bin" directory to contain the script(s) for your PHP versions as CGIs.

0 comments voice your opinion now!
modphp fastcgi parallel version


blog comments powered by Disqus

Similar Posts

Hardened-PHP Project: Suhosin (Advanced PHP Protection)

Greg Beaver's Blog: PHP_LexerGenerator 0.2.2 released at pear.php.net

Lukas Smith\'s Blog: My take on the PHP6 meeting results

Greg Beaver\'s Blog: Why it is very important to upgrade to PEAR 1.4.6 from PEAR 1.3.x

Symfony Project: symfony 1.0 released


Community Events

Don't see your event here?
Let us know!


security extension voicesoftheelephpant list introduction api laravel5 library release php7 example version opinion language framework interview podcast laravel community series

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework