Composer installed, but get /usr/bin/env: php: No such file or directory

前端 未结 4 1285
野趣味
野趣味 2021-01-31 18:54

On CentOS 7, I installed PHP 7.1.

Then I installed composer with:

cd /tmp
curl -sS https://getcomposer.org/installer | php71     --> used php71 inste         


        
4条回答
  •  独厮守ぢ
    2021-01-31 19:54

    You need to install the cli package.

    yum install php71u-cli is what I needed to do for IUS php.

提交回复
热议问题