[英]Composer not installing
I have installed windows 10 on my pc and when I installing composer it shows:我已经在我的电脑上安装了 Windows 10,当我安装 Composer 时,它显示:
The PHP exe file you specified did not run correctly: D:\\Xampp\\php\\php.exe
您指定的 PHP exe 文件没有正确运行:D:\\Xampp\\php\\php.exe
The php.ini
used by your command-line PHP is: D:\\Xampp\\php\\php.ini你的命令行 PHP 使用的
php.ini
是: D:\\Xampp\\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. php.ini
的设置可能导致问题:“ extension_dir ”值不正确或 dll 不存在。
Program Output:程序输出:
PHP Warning: PHP Startup: Unable to load dynamic library '\xampp\php\ext\php_bz2.dll' - The specified module could not be found.
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '\xampp\php\ext\php_curl.dll' - The specified module could not be found.
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '\xampp\php\ext\php_fileinfo.dll' - The specified module could not be found.
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '\xampp\php\ext\php_gd2.dll' - The specified module could not be found.
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '\xampp\php\ext\php_gettext.dll' - The specified module could not be found.
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '\xampp\php\ext\php_mbstring.dll' - The specified module could not be found.
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '\xampp\php\ext\php_exif.dll' - The specified module could not be found.
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '\xampp\php\ext\php_mysql.dll' - The specified module could not be found.
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '\xampp\php\ext\php_mysqli.dll' - The specified module could not be found.
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '\xampp\php\ext\php_openssl.dll' - The specified module could not be found.
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '\xampp\php\ext\php_pdo_mysql.dll' - The specified module could not be found.
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '\xampp\php\ext\php_pdo_sqlite.dll' - The specified module could not be found.
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '\xampp\php\ext\php_openssl.dll' - The specified module could not be found.
in Unknown on line 0
PHP Warning: Cannot open '\xampp\php\extras\browscap.ini' for reading in Unknown on line 0
May I know do you run it by administrator powershell during the installation,我可以知道您在安装过程中是否通过管理员 powershell 运行它,
if yes please check those extensions whether exist or not,如果是,请检查这些扩展是否存在,
and does install correctly : https://getcomposer.org/doc/00-intro.md#using-the-installer并正确安装: https : //getcomposer.org/doc/00-intro.md#using-the-installer
C:\bin>echo @php "%~dp0composer.phar" %*>composer.bat
The @php does it point to your php of xampp? @php 是否指向您的 xampp php? You can check .
你可以检查。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.