ubuntu18.04 , nginx 安装 thinkphp5.0 的问题
thinkphp吧
全部回复
仅看楼主
level 1
dognar 楼主
server {
# 端口
listen 80;
listen [::]:80;
# web文档根
root /var/www/html/thinkphp5study/public;
# 入口文件名
index index.php index.html;
# 访问url
server_name thinkphp5study.com;
#日志
access_log /var/log/nginx/example.com.access.log;
error_log /var/log/nginx/example.com.error.log;
location / {
try_files $uri $uri/ =404;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass 127.0.0.1:9000;
}
}
2018年05月10日 05点05分 1
level 1
dognar 楼主
1楼是配置文件
这个是错误提示
2018年05月10日 05点05分 2
level 1
dognar 楼主
apache也不行
2018年05月10日 05点05分 3
apache 是直接报500错误
2018年05月10日 05点05分
1