Created
November 14, 2012 11:19
-
-
Save paulodiovani/4071604 to your computer and use it in GitHub Desktop.
multiple php modules
This file contains 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
## | |
## PHP 5.2 Vhost | |
## | |
NameVirtualHost *:80 | |
<VirtualHost *:80> | |
ServerAdmin pgoncalves@gvdasa.com.br | |
DocumentRoot "D:/www" | |
ServerName pgoncaves | |
ServerAlias php52.pgoncalves www.php52.pgoncalves | |
ErrorLog "logs/php52-error.log" | |
CustomLog "logs/php52-access.log" common | |
# PHP 5.2 | |
LoadModule php5_module "c:/php/php5apache2_2.dll" | |
AddType application/x-httpd-php .php .php5 | |
AddType application/x-httpd-php-source .phps | |
PHPIniDir "C:/php" | |
<IfModule dir_module> | |
DirectoryIndex index.html index.php index.php5 | |
</IfModule> | |
</VirtualHost> | |
## | |
## PHP 5.3 Vhost | |
## | |
NameVirtualHost *:80 | |
<VirtualHost *:80> | |
ServerAdmin pgoncalves@gvdasa.com.br | |
DocumentRoot "D:/www" | |
ServerName php53.pgoncaves | |
ServerAlias www.php53.pgoncalves | |
ErrorLog "logs/php53-error.log" | |
CustomLog "logs/php53-access.log" common | |
# PHP 5.3 | |
LoadModule php5_module "c:/php53/php5apache2_2.dll" | |
AddType application/x-httpd-php .php .php5 | |
AddType application/x-httpd-php-source .phps | |
PHPIniDir "C:/php53" | |
<IfModule dir_module> | |
DirectoryIndex index.html index.php index.php5 | |
</IfModule> | |
</VirtualHost> |
This file contains 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
C:\Program Files (x86)\Apache Software Foundation\Apache2.2\bin>httpd -t | |
[Wed Nov 14 09:19:43 2012] [warn] module php5_module is already loaded, skipping | |
Syntax error on line 44 of C:/Program Files (x86)/Apache Software Foundation/Apache2.2/conf/extra/vhosts-php.conf: | |
Only first PHPINIDir directive honored per configuration tree - subsequent ones ignored |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment