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

前端 未结 5 1534
再見小時候
再見小時候 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条回答
  •  佛祖请我去吃肉
    2020-12-08 12:05

    Close your ssh tunnel and restart again for PHP is getting back and check $ php --version

    And type the command line sudo apt-get install php-fpm or search with newest version of php using " sudo apt-cache search php " then you find php-fpm or php-{version}-fpm and use the following command sudo service php-fpm restart

提交回复
热议问题