4

eAccelerator with two versions of PHP through FastCGI

view full story
linux-howto

http://serverfault.com – Alright so I will outline how everything is setup and running for me on my dedicated box. I have everything working accept eAccelerator only works on one of my PHP applications. Apache2 I have Apache2 setup and running with virtualhosts. Apache has a file at /etc/apache2/php-version-5.2.conf which gets included on each vhost when it needs to run PHP 5.2: #include for sites that still need to run at php 5.2.x SetEnv PHP_INI_SCAN_DIR /opt/php5.2/conf.d/ ScriptAlias /php5-cgi /usr/lib/cgi-bin/php5-cgi Action application/x-httpd-php5 /php5-cgi <FilesMatch "\.php"> SetHandler applicati (HowTos)