Composer Could Not Find Config  [draft]

在执行 composer require xxx 发现始终无法执行成功 执行 composer require -vvv xxx 打印详细信息 发现报错信息如下: failed to initialize global composer composer could not find the config file 最后发现在系统里有两个 composer 配置,删除掉非安装目录下的环境变量(我这边是C:\Users\Administrator\AppData\Roaming\Composer\vendor\bin 注销电脑,重新执行 composer require -vvv xxx 安装成功

April 5, 2019 · 1 min · 云溪

编译安装php常见问题

configure: error: libxml2 not found. 详细错误如下: configure: error: libxml2 not found. Please check your libxml2 installation. make: *** No targets specified and no makefile found. Stop. make: *** No rule to make target 'install'. Stop. 解决方法: $ sudo apt-get install libxml2-dev configure: error: png.h not found. 详细错误如下: configure: error: png.h not found. make: *** No targets specified and no makefile found. Stop. make: *** No rule to make target 'install'. Stop....

February 24, 2019 · 1 min · 云溪