Как добавить композитора в winginx? - PullRequest
0 голосов
/ 27 апреля 2019

Как добавить композитор в winginx на windows 10? когда я пытаюсь загрузить установщик для composer из папки winginx php71, он выдает ошибку PHP Внимание: модуль 'zip' уже загружен в Unknown в строке 0

Я пытался установить composer, находящийся в папке 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
...