更改编写器的php位置

更改编写器的php位置,php,composer-php,Php,Composer Php,如何更改composer使用的PHP的位置 我尝试再次运行安装程序,但它仍使用旧的安装程序 The PHP exe file you specified did not run correctly: D:\servers\php_5_5_37_x86\php.exe The php.ini used by your command-line PHP is: D:\servers\php_5_5_37_x86\php.ini A setting in your php.ini could be

如何更改composer使用的PHP的位置

我尝试再次运行安装程序,但它仍使用旧的安装程序

The PHP exe file you specified did not run correctly:
D:\servers\php_5_5_37_x86\php.exe

The php.ini used by your command-line PHP is: D:\servers\php_5_5_37_x86\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:
Warning: PHP Startup: Unable to load dynamic library 'D:/Servers/php_5_4_39_x86/ext/php_curl.dll' - Não foi possível encontrar o módulo especificado.
 in Unknown on line 0

您需要在系统环境变量的“path”变量中编辑“php文件夹”的路径

选中此项:

另外,我将PHP5.5的扩展目录指向PHP5.4。谢谢