Could not open input file: composer.phar

前端 未结 15 781
感情败类
感情败类 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条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-02 09:47

    The composer.phar install is not working but without .phar this is working.

    We need to enable the openssl module in php before installing the zendframe work.

    We have to uncomment the line ;extension=php_openssl.dll from php.ini file.

    composer use different php.ini file which is located at the wamp\bin\php\php-\php.ini

    After enabling the openssl we need to restart the server.

    The execute the following comments.

    I can install successfully using these commands -

    composer self-update
    composer install --prefer-dist
    

    enter image description here

提交回复
热议问题