Could not open input file: composer.phar

前端 未结 15 758
感情败类
感情败类 2020-12-02 09:38

I am trying to install zendframework using composer tool in wamp server.

The following steps are done towards installation

  1. I downlo

15条回答
  •  Happy的楠姐
    2020-12-02 09:44

    Instead of

    php composer.phar create-project --repository-url="http://packages.zendframework.com" zendframework/skeleton-application path/to/install
    

    use

    php composer.phar create-project --repository-url="https://packages.zendframework.com" zendframework/skeleton-application path/to/install
    

    Just add https instead of http in the URL. Though it's not a permanent solution, it does work.

提交回复
热议问题