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

前端 未结 4 1272
野趣味
野趣味 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条回答
  •  闹比i
    闹比i (楼主)
    2021-01-31 19:46

    This worked for me [Centos 7 with php 7.1] :
    yum install php71w-cli

提交回复
热议问题