Connection to MySQL data in Dreamweaver, http500 error occurred
Connect MySQL data in Dreamweaver with "HTTP Error 500 Internal server error" prompt, solve! Thank you! (Note: PHP operating environment has been set OK)
mysql:5.3.10
DW:MX (also not connected with CS)
------Solution--------------------
Your PHP part is wrong
------Solution--------------------
Set your IE to turn the error display mode on. You'll know what's going on when you open a PHP error message.
------Solution--------------------
Explore
Thank you phpnewnew, I am the error dialog box that pops up when I connect to MySQL in Dreamweaver, it is not related to the display in IE, and the wrong display mode of IE is open. This is actually the problem: http://zhidao.baidu.com/question/315250344.html, but his answer did not solve my problem, strong solution.
------Solution--------------------
1, in the php.ini order
Display_errors = On
2. If your database connection code is not written by you, it is created by Dreamweaver
Please make sure MySQL is up
The database name, user name, and password you provided are incorrect
The HTTP 500 error means: The server refuses to respond
For PHP applications, the most likely occurrence of this error is that PHP detects a problem with the program and cannot output an error (Display_errors = Off)
Of course there may be other reasons, but the problem is always a step-by-step troubleshooting
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.