亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

The api written in thinkPHP returns normally, but the browser status is 500?
世界只因有你
世界只因有你 2017-06-29 10:08:22
0
8
824


thinkPHP5 developed apis that were normal locally, but this problem occurred when they were placed on the server. The data returned was normal, but the status was wrong.

It seems to be a file permissions issue. . .

世界只因有你
世界只因有你

reply all(8)
我想大聲告訴你

Close thinkphp log

Ty80


Permissions issue, I have said it myself...

我想大聲告訴你

sudo chmod 777 runtime/ Just set the permissions of this folder.

三叔

Check the user group of fpm, and then change the project directory to the same one as fpm

代言

500 means there is a problem with your server configuration. . . Check to see if there are any differences in the configuration between your local environment and your server environment!

小葫蘆

The server configuration is different, please pay attention to the capitalization

學(xué)習(xí)ing

You can look at the log files of nginx or apache, any error messages will be displayed there.

習(xí)慣沉默

Is there a problem with the case of the file name? Linux system is case-sensitive, but window is not case-sensitive

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template