繁体   English   中英

PHP 尝试在 Windows 7 机器上安装 Composer 时设置错误

[英]PHP Settings Error when trying to install Composer on Windows 7 machine

我在下载“Composer-Setup.exe”时收到以下错误,双击该文件并运行 PHP 设置检查。

我需要修复 php.ini 文件中的几行吗? 我正在尝试在我的命令提示符下运行与在我的 Xampp 服务器('C:/Xampp/htdocs')上安装 Laravel 有关的作曲家命令。

The PHP exe file you specified did not run correctly:
C:\Program Files (x86)\iis express\PHP\v7.0\php.exe

The php.ini used by your command-line PHP is: C:\Program Files (x86)\iis express\PHP\v7.0\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:
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\iis express\PHP\v7.0\ext\php_sqlsrv_72_ts.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\iis express\PHP\v7.0\ext\php_mysql.dll' - The specified module could not be found.
 in Unknown on line 0

我认为问题出在您的php版本,请尝试将您的php版本升级到7 ++

只需安装 php_pdo_sqlsrv_81_ts_x64.dll 它就可以为 ui 做同样的事情

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM