[StopRemoveInstallStartAll] Action: service; Service: wampapache64; ServiceAction: stop; Flags: ignoreerrors waituntilterminated Action: run; FileName: "c:/wamp/bin/apache/apache2.4.27/bin/httpd.exe"; Parameters: "-n wampapache64 -k unisntall"; ShowCmd: hidden; Flags: waituntilterminated Action: resetservices Action: service; Service: wampmysqld64; ServiceAction: stop; Flags: ignoreerrors waituntilterminated Action: run; FileName: "c:/wamp/bin/mysql/mysql5.7.19/bin/mysqld.exe"; Parameters: "--remove wampmariadb64"; ShowCmd: hidden; Flags: waituntilterminated Action: resetservices ;Action: service; Service: wampmariadb64; ServiceAction: stop; Flags: ignoreerrors waituntilterminated ;Action: run; FileName: "c:/wamp/bin/mariadb/mariadb10.2.8/bin/mysqld.exe"; Parameters: "--remove wampmariadb64"; ShowCmd: hidden; Flags: waituntilterminated Action: resetservices Action: run; FileName: "c:/wamp/bin/php/php5.6.34/php.exe"; Parameters: "testPortForInstall.php";WorkingDir: "c:/wamp/scripts"; Flags: waituntilterminated Action: run; FileName: "c:/wamp/bin/apache/apache2.4.27/bin/httpd.exe"; Parameters: "-n wampapache64 -k install"; ShowCmd: hidden; Flags: waituntilterminated Action: run; Filename: "sc"; Parameters: "\\. config wampapache64 start= demand"; ShowCmd: hidden; Flags: waituntilterminated Action: resetservices Action: run; FileName: "c:/wamp/bin/mysql/mysql5.7.19/bin/mysqld.exe"; Parameters: "--install-manual wampmysqld64"; ShowCmd: hidden; Flags: ignoreerrors waituntilterminated Action: resetservices ;Action: run; FileName: "c:/wamp/bin/mariadb/mariadb10.2.8/bin/mysqld.exe"; Parameters: "--install-manual wampmariadb64"; ShowCmd: hidden; Flags: ignoreerrors waituntilterminated ;Action: resetservices Action: service; Service: wampapache64; ServiceAction: startresume; Flags: ignoreerrors Action: service; Service: wampmysqld64; ServiceAction: startresume; Flags: ignoreerrors ;Action: service; Service: wampmariadb64; ServiceAction: startresume; Flags: ignoreerrors Action: resetservices Action: readconfig;
C:\Users\Ymox>C:\wamp\bin\php\php5.6.34\php.exe --ini Configuration File (php.ini) Path: C:\WINDOWS Loaded Configuration File: C:\wamp\bin\php\php5.6.34\php.ini Scan for additional .ini files in: (none) Additional .ini files parsed: (none) C:\Users\Ymox>php -v PHP 7.1.15 (cli) (built: Mar 1 2018 01:51:52) ( ZTS MSVC14 (Visual C++ 2015) x64 ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies C:\Users\Ymox>php --ini Configuration File (php.ini) Path: C:\WINDOWS Loaded Configuration File: C:\wamp\bin\php\php7.1.15\php.ini Scan for additional .ini files in: (none) Additional .ini files parsed: (none)Il semble que le php.ini pris en compte soit celui du dossier où se trouve l'exécutable, quel que soit le chemin d'exécution d'une version précise ou de celle renseignée dans PATH, du moins sous Windows 10 — sachant que je n'ai pas de php.ini dans C:WINDOWS, évidemment.