注册后500错误

注册后500错误

By 4linuxfun at 2017-09-01
0人收藏 • 2130人看过

搭建了一个测试环境,一切都正常,但是点击注册后register?页面返回500错误

image.png

使用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
lincanbin
2017-09-02
#1

可以提供错误日志吗?


登 录


现在注册

QQ  登 录    Weibo  登 录    GitHub  登 录