Ubuntu Nginx中啓用php支持

備份文件 cd /etc/nginx/sites-avaiable/ && sudo cp default default.old 修改文件 sudo vi default 添加如下內容: root /var/www/html; index index.html index.php index.htm; location ~ \.php$ { fastcgi_pass unix:/var/run/
相關文章
相關標籤/搜索