Configuration 如何将composer添加到winginx?

Configuration 如何将composer添加到winginx?,configuration,composer-php,localhost,winginx,Configuration,Composer Php,Localhost,Winginx,如何在windows 10上将composer添加到winginx?当我尝试从winginx php71文件夹加载install for composer时,它会抛出一个错误PHP警告:模块“zip”已在第0行的未知位置加载 我确实尝试在php71文件夹中安装composer,但由于上述错误而失败,我无法编辑zip.dll php -r "eval('?>'.file_get_contents('https://getcomposer.org/installer'));" c:\Wing

如何在windows 10上将composer添加到winginx?当我尝试从winginx php71文件夹加载install for composer时,它会抛出一个错误PHP警告:模块“zip”已在第0行的未知位置加载

我确实尝试在php71文件夹中安装composer,但由于上述错误而失败,我无法编辑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
转到php71的目录 打开php.ini 查找extension=php_zip.dll并将其更改为

;extension=php_zip.dll
转到php71的目录 打开php.ini 查找extension=php_zip.dll并将其更改为

;extension=php_zip.dll

我也有同样的问题…我刚刚找到了答案我也有同样的问题…我刚刚找到了答案