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. . .
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
You can look at the log files of nginx or apache, any error messages will be displayed there.
Is there a problem with the case of the file name? Linux system is case-sensitive, but window is not case-sensitive