The error is that I logged on to a WeChat binding wap website today. There was no problem in the local test, but the server found that the program could not run normally. When the program connection prompt internal server error 500 is displayed, I will check Baidu
First, if you have no permission to read the file due to permission configuration issues, this error is thrown. This is a common cause in linux environments.
Second, the. htacess configuration is incorrect. One is that there is a syntax error in it, the other is that module_rewrite is not enabled, but rewrite is performed in. htacess.
Third, a program error occurs. For example, if there is a 500 error only when accessing the. Php file, it is normal when accessing the static file.
The above is an analysis of the problems found by Baidu, but the small series have not been done and there is no such problem. Later I analyzed the program and found that
The program has a function that is not uploaded to the server, resulting in page 500 error, because the server is in php. the error has been disabled in ini, so if the error is 500, the browser returns 500, which we think is an apache error.