extension_dir = "J:/Wamp/bin/php/php5.3.5/ext/"par
extension_dir = "J:/Wamp/bin/php/php5.3.6/ext/"Sauvegarder les fichiers modifiés.
<?php $phpConf['phpIniDir'] = '.'; $phpConf['phpExeDir'] = '.'; $phpConf['phpConfFile'] = 'php.ini'; $phpConf['apache']['1.3']['LoadModuleName'] = 'php5_module'; $phpConf['apache']['1.3']['LoadModuleFile'] = 'php5apache.dll'; $phpConf['apache']['1.3']['AddModule'] = 'mod_php5.c'; $phpConf['apache']['2.0']['LoadModuleName'] = 'php5_module'; $phpConf['apache']['2.0']['LoadModuleFile'] = 'php5apache2.dll'; $phpConf['apache']['2.0']['AddModule'] = ''; $phpConf['apache']['2.2']['LoadModuleName'] = 'php5_module'; $phpConf['apache']['2.2']['LoadModuleFile'] = 'php5apache2_2.dll'; $phpConf['apache']['2.2']['AddModule'] = ''; $phpConf['apache']['2.4']['LoadModuleName'] = 'php5_module'; $phpConf['apache']['2.4']['LoadModuleFile'] = 'php5apache2_4.dll'; $phpConf['apache']['2.4']['AddModule'] = ''; ?>
ServerRoot "c:/Apache24"par
ServerRoot "J:/Wamp/bin/apache/apache2.4.2" Define APACHE24 Apache2.4
Listen 80par
Listen 0.0.0.0:80 Listen [::0]:80
#LoadModule xml2enc_module modules/mod_xml2enc.sopar (Remplacer le chemin par votre version PHP 5.4.x active)
#LoadModule xml2enc_module modules/mod_xml2enc.so LoadModule php5_module "J:/wamp/bin/php/php5.4.3/php5apache2_4.dll"
#ServerName www.example.com:80par
ServerName localhost:80 HostnameLookups On
DocumentRoot "c:/Apache24/htdocs" <Directory "c:/Apache24/htdocs">par (Remplacer par vos chemins )
DocumentRoot "J:/wamp/www/" <Directory "J:/wamp/www/">
Require all granted </Directory>par
# onlineoffline tag - don't remove Require local </Directory>
<IfModule dir_module> DirectoryIndex index.html </IfModule>par
<IfModule dir_module> DirectoryIndex index.php index.php3 index.html index.htm </IfModule>
<Files ".ht*"> Require all denied </Files>par
<FilesMatch "^\.ht"> Require all denied Satisfy All </FilesMatch>
ErrorLog "logs/error.log"par (Mettre votre chemin)
ErrorLog "J:/Wamp/logs/apache_error.log"
CustomLog "logs/access.log" commonpar (Mettre votre chemin)
CustomLog "J:/Wamp/logs/access.log" common
ScriptAlias /cgi-bin/ "c:/Apache24/cgi-bin/"par
ScriptAlias /cgi-bin/ "cgi-bin/"
<Directory "c:/Apache24/cgi-bin">par
<Directory "cgi-bin">
#AddEncoding x-compress .Z #AddEncoding x-gzip .gz .tgzpar
AddEncoding x-compress .Z AddEncoding x-gzip .gz .tgz
AddType application/x-compress .Z AddType application/x-gzip .gz .tgzpar
AddType application/x-compress .Z AddType application/x-gzip .gz .tgz AddType application/x-httpd-php .php AddType application/x-httpd-php .php3
Include "J:/Wamp/alias/*"