注册后500错误
By
4linuxfun
at 2017-09-01 • 0人收藏 • 2409人看过
搭建了一个测试环境,一切都正常,但是点击注册后register?页面返回500错误

使用LNMP环境,nginx+php-fpm
nginx配置如下:
root /var/www/Carbon-Forum;
index index.php index.html index.htm;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location ~ \.php$ {
root /var/www/Carbon-Forum;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}php版本为7.1.8
但是用户是注册成功的,能够成功登陆。
1 个回复 | 最后更新于 2017-09-02
登录后方可回帖

粤公网安备 44030602003677号
可以提供错误日志吗?