lnmp1.4安装包

  https://lnmp.org/install.html

 

  nginx中虚拟机中的配置

location ~ .*\.(php|php5)?$
{
try_files $uri =404;
fastcgi_pass unix:/tmp/php-cgi.sock;
fastcgi_index index.php;
include fastcgi.conf;
}

 

posted @ 2017-10-13 17:10  Func~  阅读(118)  评论(0编辑  收藏  举报