Created
April 4, 2011 09:15
-
-
Save chanmix51/901337 to your computer and use it in GitHub Desktop.
VirtualHost configuration to use php4 and php5
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
ScriptAlias /php4/ /home/developpeur/src/php4/bin/ | |
<Directory /home/developpeur/src/php4/bin> | |
AllowOverride None | |
Options none | |
Order allow,deny | |
Allow from all | |
</Directory> | |
ScriptAlias /php5/ /home/developpeur/src/php5/bin/ | |
<Directory /home/developpeur/src/php5/bin> | |
AllowOverride None | |
Options none | |
Order allow,deny | |
Allow from all | |
</Directory> | |
<Directory /var/www/dev/fisher/new> | |
AddType application/x-httpd-php5 .php .php5 | |
Action application/x-httpd-php5 "/php5/php-cgi" | |
</Directory> | |
<Directory /var/www/dev/fisher/old> | |
AddType application/x-httpd-php4 .php .php4 | |
Action application/x-httpd-php4 "/php4/php" | |
</Directory> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment