composer 重装常见错误

install composer error:

------------------------------------ 

The PHP exe file you specified did not run correctly:
D:phpStudyphpphp-5.6.27-ntsphp.exe

The php.ini used by your command-line PHP is: D:phpStudyphpphp-5.6.27-ntsphp.ini

A duplicate setting in your php.ini could be causing the problem.

Program Output:
Warning: Module 'fileinfo' already loaded in Unknown on line 0

解决:

检查:php.ini;    

extension=php_fileinfo.dll 加载两次;

原文地址:https://www.cnblogs.com/q1104460935/p/7600258.html