Apache error: internal server error 500 solution

Source: Internet
Author: User
Tags php file

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.