As shown in the figure, using 127.0.0.1 to access is a 500 error
But after modifying the hosts, it is normal to access through the domain name
127.0.0.1 shaomai.yii.so
How to deal with it?
过去多啦不再A梦2017-05-16 17:19:47
Check the Nginx
的错误日志:error.log
,具体日志在什么地方根据系统、安装方式不同都不同,只有你自己知道了。CentOS
下默认是在/var/log/nginx/
catalog.
ringa_lee2017-05-16 17:19:47
Just looking at this, I don’t know what the problem is. You can open the error log and look at the error log to locate the problem.
PHP中文网2017-05-16 17:19:47
I didn’t see a clear error message through the error log. The author can ask on stackoverflow.
If you have solved the problem, you can reply and let us all know what is wrong