树莓派安装 PHP7的问题

0.124字数 28阅读 1735

只做个人记录用

sudo apt-get install -y nginx
sudo apt-get install -y sqlite3
sudo apt-get install -y php7.0 php7.0-fpm php7.0-curl php7.0-gd php7.0-imap php7.0-json php7.0-mcrypt php7.0-sqlite php7.0-xmlrpc

执行

sudo vim /etc/nginx/sites-available/default 

修改代码


image.png

重启 nginx

sudo service nginx restart

测试nginx config file is not has some error detail

sudo nginx -t
image.png

done!

推荐阅读更多精彩内容