在 Windows PHP 启动中安装作曲家时出错:无法加载动态库"ext\json.so"



我在Windows中安装作曲家时收到此错误。

The PHP exe file you specified did not run correctly:
C:xamppphpphp.exe
The php.ini used by your command-line PHP is: C:xamppphpphp.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 'extjson.so' - The specified module could not be found.
in Unknown on line 0

我不得不从php中删除这一行.ini ,这就是问题所在

extension=json.so

最新更新