1
I am trying to install Composer on Windows 10, but the following error message is appearing:
The PHP exe file you specified Did not run correctly: C: Program Files Vertrigoserv Php php.exe
The php.ini used by your command-line PHP is: C: Program Files Vertrigoserv Php php.ini
A Setting in your php.ini could be causing the problem: Either the 'extension_dir' value is incorrect or the dll does not exist.
Program Output: Failed loading C: Program Files Vertrigoserv php ext php_xdebug-2.5.5-7.1-vc14. dll PHP Warning: PHP Startup: Unable to load Dynamic library 'C: Program Files Vertrigoserv php ext php_mysql.dll' - Could not find the specified module. in Unknown on line 0
As you can see, I use Vertrigoserv. I have tried running in administrator mode, I have tried with extension_dir commented and not commented.
Currently the php.ini file is like this in this snippet:
; Directory in which the Loadable Extensions (modules) resides.
; http://php.net/extension-dir
; extension_dir = "./"
; On windows:
extension_dir = "ext"
take a look at this question https://stackoverflow.com/questions/31913142/installing-composer-internal-error
– Marcelo Batista
You have two versions of php on your machine?
– adventistaam
It happened to me once. Look at that here
– adventistaam