[main] language = "french" status = "offline" wampserverVersion = "3.0.6" installDir ="C:/Wamp64" ;Path of the Browser used by Wampserver ;May be modfied with the absolute path of the browser exe file ;(Use / instead of \) navigator ="C:/Program Files (x86)/Mozilla Firefox/firefox.exe" ;Path of the Text Editor used by Wampserver ;May be modfied with the absolute path of the Text Editor exe file ;(Use / instead of \) editor ="C:/Program Files (x86)/Notepad++/notepad++.exe" defaultLanguage = english wampserverMode = "64bit" [options] ItemServicesNames = "off" VirtualHostSubMenu = "off" ProjectSubMenu = "off" HomepageAtStartup = "off" urlAddLocalhost = "off" MenuItemOnline = "off" NotCheckDuplicate= "off" VhostAllLocalIp= "off" NotCheckVirtualHost= "off" AliasSubmenu= "on" [php] phpVersion = "7.0.9" phpIniDir = "." phpConfFile = "php.ini" phpExeDir = "." [phpCli] phpCliVersion = 5.6.21 phpExeFile = php.exe phpCliFile = php-win.exe [apache] apacheVersion = "2.4.23" apacheExeDir = "bin" apacheConfDir = "conf" apacheExeFile = "httpd.exe" apacheConfFile = "httpd.conf" apacheServiceInstallParams = "-n wampapache64 -k install" apacheServiceRemoveParams = "-n wampapache64 -k uninstall" [apacheoptions] apacheUseOtherPort = "off" apachePortUsed = "80" [mysql] mysqlVersion = "5.7.11" mysqlConfDir = "." mysqlConfFile = "my.ini" mysqlExeDir = "bin" mysqlExeFile = "mysqld.exe" mysqlServiceInstallParams = "--install-manual wampmysqld64" mysqlServiceRemoveParams = "--remove wampmysqld64" [mysqloptions] mysqlPortUsed = "3306" mysqlUseOtherPort = "off" [service] ServiceApache = "wampapache64" ServiceMysql = "wampmysqld64"
<?php $phpConf['phpIniDir'] = '.'; $phpConf['phpExeDir'] = '.'; $phpConf['phpConfFile'] = 'php.ini'; //PHP 7 needs Apache 2.4.x and doesn't works with Apache 2.2.x $phpConf['apache']['2.4']['LoadModuleName'] = 'php7_module'; $phpConf['apache']['2.4']['LoadModuleFile'] = 'php7apache2_4.dll'; $phpConf['apache']['2.4']['AddModule'] = ''; ?>
[Config] ;WAMPCONFIGSTART ImageList=images_off.bmp ServiceCheckInterval=1 ServiceGlyphRunning=13 ServiceGlyphPaused=14 ServiceGlyphStopped=15 TrayIconAllRunning=16 TrayIconSomeRunning=17 TrayIconNoneRunning=18 ID={wampserver} AboutHeader=WAMPSERVER AboutVersion=Version 3.0.0 ;WAMPCONFIGEND [AboutText] WampServer Created by Romain Bourdon wampmanager.ini minimum file to recreate the original file if is corrupted [Services] Name: wampapache64 Name: wampmysqld64 [Messages] AllRunningHint=WAMPSERVER - All services running - server Offline SomeRunningHint=WAMPSERVER - %n of %t services running - server Offline NoneRunningHint=WAMPSERVER - None of %t services running - server Offline [StartupAction] Action: run; FileName: "C:/Wamp64/bin/php/php5.6.21/php-win.exe";Parameters: "refresh.php";WorkingDir: "C:/Wamp64/scripts"; Flags: waituntilterminated Action: resetservices Action: readconfig; Action: service; Service: wampapache64; ServiceAction: startresume; Flags: ignoreerrors Action: service; Service: wampmysqld64; ServiceAction: startresume; Flags: ignoreerrors
Bizarre, bizarre ! Aucune action de Wampmanager ne supprime que les fichiers wampserver.conf ; c'est tout le dossier ou rien.Citation
Msappdem
En revanche les versions d'apache qui ne sont plus présentes (apache2.4.18 et apache2.4.20) ne ontiennent pas de fichier wampserver.conf
La présence d'un fichier wampserver.conf est la base même de la détection des différentes versions, avec en plus pour PHP la présence du fichier phpForApache.iniCitation
Msappdem
Alors la version de php qui n'est pas présente est la version 7.0.11 qui contient bien un fichier wampserver.conf
[Config] ;WAMPCONFIGSTART ImageList=images_off.bmp ServiceCheckInterval=1 ServiceGlyphRunning=13 ServiceGlyphPaused=14 ServiceGlyphStopped=15 TrayIconAllRunning=16 TrayIconSomeRunning=17 TrayIconNoneRunning=18 ID={wampserver} AboutHeader=WAMPSERVER AboutVersion=Version 3.0.0 ;WAMPCONFIGEND [AboutText] WampServer Created by Romain Bourdon wampmanager.ini minimum file to recreate the original file if is corrupted [Services] Name: wampapache64 Name: wampmysqld64 [Messages] AllRunningHint=WAMPSERVER - All services running - server Offline SomeRunningHint=WAMPSERVER - %n of %t services running - server Offline NoneRunningHint=WAMPSERVER - None of %t services running - server Offline [StartupAction] Action: run; FileName: "C:/Wamp64/bin/php/php5.6.21/php-win.exe";Parameters: "refresh.php";WorkingDir: "C:/Wamp64/scripts"; Flags: waituntilterminated Action: resetservices Action: readconfig; Action: service; Service: wampapache64; ServiceAction: startresume; Flags: ignoreerrors Action: service; Service: wampmysqld64; ServiceAction: startresume; Flags: ignoreerrors
wampmanager.exe -quit -id={wampserver} del wampmanager.ini copy wampmanager.ini.repair wampmanager.ini start /b wampmanager.exe exit
[StartupAction] Action: run; FileName: "C:/Wamp64/bin/php/php5.6.21/php-win.exe";Parameters: "refresh.php";WorkingDir: "C:/Wamp64/scripts"; Flags: waituntilterminateddonc de lancer le script refresh.php, qui recrée le fichier wampmanager.ini en fonction des paramètres des fichiers wampmanager.tpl, wampmanager.conf et config.inc.php.
[07-Oct-2016 08:13:49 UTC] PHP Warning: file_get_contents(C:/Wamp64/bin/mysql/mysql5.7.11/./my.ini): failed to open stream: No such file or directory in C:\Wamp64\scripts\refresh.php on line 68 [07-Oct-2016 08:13:50 UTC] PHP Warning: parse_ini_file(C:/Wamp64/bin/mysql/mysql5.7.11/./my.ini): failed to open stream: No such file or directory in C:\Wamp64\scripts\refresh.php on line 1034 [07-Oct-2016 08:13:50 UTC] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in C:\Wamp64\scripts\refresh.php on line 1038 [07-Oct-2016 08:13:50 UTC] PHP Fatal error: Unsupported operand types in C:\Wamp64\scripts\refresh.php on line 1039