How can I get PHP working again in the command line?

前端 未结 5 1537
再見小時候
再見小時候 2020-12-08 11:54

I\'m completely at loss here and am about to wipe my hard drive clean and start from a fresh OS install. I\'ve been trying for two days to create a new yii app in the termin

5条回答
  •  猫巷女王i
    2020-12-08 12:14

    In response to @MikeTheCoder, the posted export path syntax didn't work for me, but the slightly modified one following did:

    export PATH=/usr/local/php5-5.6.27-20161101-100213/bin/:$PATH
    

    I'm using El Capitan 10.11.6 which defaults to an earlier PHP version.

提交回复
热议问题