简体   繁体   中英

Error installing composer in windows PHP Startup: Unable to load dynamic library 'ext\json.so'

I get this error while installing composer in Windows.

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:
Warning: PHP Startup: Unable to load dynamic library 'ext\json.so' - The specified module could not be found.
 in Unknown on line 0

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

extension=json.so

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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