【发布时间】:2019-04-27 02:04:24
【问题描述】:
如何在 Windows 10 上将 composer 添加到 winginx?当我尝试从 winginx php71 文件夹加载作曲家的安装时,它确实会抛出一个错误 PHP 警告:模块 'zip' 已经在第 0 行的未知中加载
我确实尝试将作曲家安装在 php71 文件夹中,但由于上述错误而失败,并且我无法编辑 zip.dll
php -r "eval('?>'.file_get_contents('https://getcomposer.org/installer'));"
c:\Winginx\php71>php -r "eval('?>'.file_get_contents('https://getcomposer.org/installer'));"
Warning: Module 'zip' already loaded in Unknown on line 0
Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in Command line code on line 1
Warning: file_get_contents(https://getcomposer.org/installer): failed to open stream: No such file or directory in Command line code on line 1
【问题讨论】:
-
我也有同样的问题...
-
我刚刚找到答案
标签: configuration composer-php localhost winginx