欢迎开发人员,我想为我的项目学习laravel框架。为此,我遵循谷歌的一些指示来安装它。我应该让作曲家来安装它。我尝试下载composer,但是有一些errors.the错误是:
The PHP exe file you specified did not run correctly:
C:\xampp\php\php.exe
The php.ini used by your command-line PHP is:
C:\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.
Program Output:
PHP Warning: PHP Startup: Unable to load dynamic library 'php_mysql.dll' (tried: C:\xampp\php\ext\php_mysql.dll (The specified module could not be found.
), C:\xampp\php\ext\php_php_mysql.dll.dll (The specified module could not be found.
)) in Unknown on line 0我试着解决它。我只检查php.ini文件看起来很好。是因为我使用的是xampp服务器7.2.0。我真的需要一个解决办法。
发布于 2020-12-01 02:40:28
将ArtisticPhoenix的评论变成一个回答。
相反,您需要从
;php_mysql.dll中删除它(用php.ini注释)。因为它在PHP7中被弃用和“删除”。还只是看看你在C:\xampp\php\ext\php_php_mysql.dll.dll php_php_mysql.dll.dll上发布了什么?看上去很奇怪。双倍的乐趣,2个php_和dll扩展..。LOL
ArtisticPhoenix 9月29日‘18日7:54
我测试成功了。
https://stackoverflow.com/questions/52565989
复制相似问题