[英]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.