Created
August 21, 2013 20:30
-
-
Save IchHabRecht/6299812 to your computer and use it in GitHub Desktop.
[APACHE] Load other PHP version with FastCGI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
ServerAdmin [email protected] | |
DocumentRoot "C:/Apache2/htdocs/localhost" | |
ServerName localhost.local | |
ErrorLog "logs/localhost-error.log" | |
CustomLog "logs/localhost-access.log" combined | |
<Directory "C:/Apache2/htdocs/localhost"> | |
Options FollowSymLinks Includes ExecCGI | |
AllowOverride All | |
Order allow,deny | |
Allow from all | |
</Directory> | |
LoadModule fcgid_module modules/mod_fcgid.so | |
FcgidInitialEnv PHPRC "C:/PHP4" | |
AddHandler fcgid-script .php | |
FcgidWrapper "C:/PHP4/php-cgi.exe" .php | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment