# an explicit drive letter in absolute paths to avoid confusion.par
# an explicit drive letter in absolute paths to avoid confusion. ServerSignature On ServerTokens Full
ServerRoot "c:/Apache2"par
ServerRoot "J:/Wamp/bin/apache/apache2.2.27"Attention : J:/wamp est mon chemin d'installation, à remplacer par le vôtre.
Listen 80par
Listen 0.0.0.0:80 Listen [::0]:80Attention : ne mettre Listen [::0]:80 que si votre système supporte IPv6
#LoadModule vhost_alias_module modules/mod_vhost_alias.sopar
#LoadModule vhost_alias_module modules/mod_vhost_alias.so LoadModule php5_module "J:/wamp/bin/php/php5.5.12/php5apache2_2.dll"Attention : J:/wamp est mon chemin d'installation, à remplacer par le vôtre.
#ServerName www.example.com:80par
ServerName localhost:80 HostnameLookups On
DocumentRoot "c:/Apache2/htdocs"par
DocumentRoot "J:/wamp/www/"Attention : J:/wamp est mon chemin d'installation, à remplacer par le vôtre.
<Directory "c:/Apache2/htdocs">par
<Directory "J:/wamp/www/">Attention : J:/wamp est mon chemin d'installation, à remplacer par le vôtre.
# Options FileInfo AuthConfig Limit # AllowOverride Nonepar
# Options FileInfo AuthConfig Limit # AllowOverride All
# Controls who can get stuff from this server. # Order allow,deny Allow from allpar
# Controls who can get stuff from this server. # # onlineoffline tag - don't remove Order Deny,Allow Deny from all Allow from localhost ::1 127.0.0.1Attention : Ne mettre ::1 que si votre système supporte IPv6
DirectoryIndex index.htmlpar
DirectoryIndex index.php index.php3 index.html index.htm
ErrorLog "logs/error.log"par
ErrorLog "J:/wamp/logs/apache_error.log"Attention : J:/wamp est mon chemin d'installation, à remplacer par le vôtre.
CustomLog "logs/access.log" commonpar
CustomLog "J:/Wamp/logs/access.log" commonAttention : J:/wamp est mon chemin d'installation, à remplacer par le vôtre.
ScriptAlias /cgi-bin/ "c:/Apache2/cgi-bin/"par
ScriptAlias /cgi-bin/ "J:/wamp/bin/apache/apache2.2.27/cgi-bin/"Attention : J:/wamp est mon chemin d'installation, à remplacer par le vôtre.
<Directory "c:/Apache2/cgi-bin">par
<Directory "J:/wamp/bin/apache/apache2.4.9/cgi-bin">Attention : J:/wamp est mon chemin d'installation, à remplacer par le vôtre.
#AddEncoding x-compress .Z #AddEncoding x-gzip .gz .tgzpar
AddEncoding x-compress .Z AddEncoding x-gzip .gz .tgz
AddType application/x-gzip .gz .tgzpar
AddType application/x-gzip .gz .tgz AddOutputFilterByType DEFLATE text/php text/HTML text/txt AddType application/x-httpd-php .php AddType application/x-httpd-php .php3
#EnableSendfile offpar
EnableSendfile off # AcceptFilter: On Windows, none uses accept() rather than AcceptEx() and # will not recycle sockets between connections. This is useful for network # adapters with broken driver support, as well as some virtual network # providers such as vpn drivers, or spam, virus or spyware filters. AcceptFilter http none AcceptFilter https none
#Include conf/extra/httpd-autoindex.confpar
Include conf/extra/httpd-autoindex.conf
#Include conf/extra/httpd-vhosts.confpar
Include conf/extra/httpd-vhosts.conf
Include "J:/Wamp/alias/*"Attention : J:/wamp est mon chemin d'installation, à remplacer par le vôtre.
Alias /icons/ "c:/Apache2/icons/" <Directory "c:/Apache2/icons">par
Alias /icons/ "icons/" <Directory "icons">
Require localpar
Order Deny,Allow Deny from all Allow from localhost ::1 127.0.0.1Attention : ne mettre ::1 que si votre système supporte IPv6
NameVirtualHost *:80sinon l'ajouter.
// PHP incompatible avec la version courante d'apache $incompatiblePhp = 0; if ($apacheVersionTemp == '')par
// PHP incompatible avec la version courante d'apache [mod oto25] $incompatiblePhp = 0; if ($apacheVersionTemp == '' || !isset($phpConf['apache'][$apacheVersionTemp]['LoadModuleFile']) || empty($phpConf['apache'][$apacheVersionTemp]['LoadModuleFile']) || !file_exists($c_phpVersionDir.'/php'.$onePhpVersion.'/'.$phpConf['apache'][$apacheVersionTemp]['LoadModuleFile']))
// apache icompatible avec la version courante de PHP $incompatibleApache = 0; if ($apacheVersionTemp == '')par
// apache incompatible avec la version courante de PHP [modif oto25] $incompatibleApache = 0; if ($apacheVersionTemp == '' || !isset($phpConf['apache'][$apacheVersionTemp]['LoadModuleFile']) || empty($phpConf['apache'][$apacheVersionTemp]['LoadModuleFile']) || !file_exists($c_phpVersionDir.'/php'.$wampConf['phpVersion'].'/'.$phpConf['apache'][$apacheVersionTemp]['LoadModuleFile']))Sauvegarder le fichier refresh.php modifié.
; This is php.ini-development INI file.
max_execution_time = 30par
max_execution_time = 120
; max_input_vars = 1000par
max_input_vars = 2500
;error_log = php_errors.logpar
error_log = J:/wamp/logs/php_error.logAttention : J:/wamp est mon chemin d'installation, à remplacer par le vôtre.
; extension_dir = "ext"par
; extension_dir = "ext" extension_dir = "J:/wamp/bin/php/php5.4.28/ext/"Attention : J:/wamp est mon chemin d'installation, à remplacer par le vôtre.
;upload_tmp_dir =par
upload_tmp_dir = "J:/wamp/tmp"Attention : J:/wamp est mon chemin d'installation, à remplacer par le vôtre.
; Be sure to appropriately set the extension_dir directive.jusqu'à (inclus)
;;;;;;;;;;;;;;;;;;; ; Module Settings ;par
; Be sure to appropriately set the extension_dir directive. ; extension=php_bz2.dll ;extension=php_com_dotnet.dll extension=php_curl.dll ;extension=php_enchant.dll extension=php_fileinfo.dll extension=php_gd2.dll extension=php_gettext.dll extension=php_gmp.dll extension=php_intl.dll extension=php_imap.dll ;extension=php_interbase.dll extension=php_ldap.dll extension=php_mbstring.dll extension=php_exif.dll ; Must be after mbstring as it depends on it extension=php_mysql.dll extension=php_mysqli.dll ;extension=php_oci8.dll ; Use with Oracle 10gR2 Instant Client ;extension=php_oci8_11g.dll ; Use with Oracle 11gR2 Instant Client extension=php_openssl.dll ;extension=php_pdo_firebird.dll extension=php_pdo_mysql.dll ;extension=php_pdo_oci.dll ;extension=php_pdo_odbc.dll ;extension=php_pdo_pgsql.dll extension=php_pdo_sqlite.dll ;extension=php_pgsql.dll extension=php_shmop.dll ; The MIBS data available in the PHP distribution must be installed. ; See [www.php.net] ;extension=php_snmp.dll extension=php_soap.dll extension=php_sockets.dll extension=php_sqlite3.dll ;extension=php_sybase_ct.dll ;extension=php_tidy.dll extension=php_xmlrpc.dll extension=php_xsl.dll ;;;;;;;;;;;;;;;;;;; ; Module Settings ;
;date.timezone = ; [php.net] ;date.default_latitude = 31.7667 ; [php.net] ;date.default_longitude = 35.2333par
date.timezone = Europe/Paris ; [php.net] date.default_latitude = 48.88778 ; [php.net] date.default_longitude = 2.31806Ou votre timezone et latitude/longitude si ce n'est pas celles là
;intl.default_locale =par
intl.default_locale = fr_FROu votre "locale" si ce n'est pas la France
;intl.error_level = E_WARNINGpar
intl.error_level = E_WARNING
;sendmail_from = me@example.compar
sendmail_from = adresse email valide
mysql.default_port =par
mysql.default_port = 3306
;session.save_path = "/tmp"par
session.save_path = "J:/wamp/tmp"Attention : J:/wamp est mon chemin d'installation, à remplacer par le vôtre.
; XDEBUG Extension zend_extension = "J:/wamp/bin/php/php5.4.28/zend_ext/php_xdebug-2.2.5-5.4-vc9.dll" [xdebug] xdebug.remote_enable = off xdebug.profiler_enable = off xdebug.profiler_enable_trigger = off xdebug.profiler_output_name = cachegrind.out.%t.%p xdebug.profiler_output_dir = "J:/wamp/tmp" xdebug.show_local_vars=0Attention : J:/wamp est mon chemin d'installation, à remplacer par le vôtre.(Deux fois)