I have been trying to puzzle out how you can resolve this error with the new pages I create:
Server error! The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script. If you think this is a server error, please contact the webmaster. Error 500 localhost 2011/11/28 13:36:56 Apache/2.2.17 (Win32) mod_ssl/2.2.17 OpenSSL/0.9.8o PHP/5.3.4 mod_perl/2.0.4 Perl/v5.10.1
Well, everything began after i elevated the safety on MySQL by setting more passwords, I believe. I believed I'd obtain a better error report basically switched error confirming on in
php.ini, but it is not during my
Okay, and so i have no clue how to proceed. I have also got this line in xampp:
MySQL database DEACTIVATED.
Any idea what may be happening? Also, please tell me if the is going to superuser.
If you are on Linux, consider using a "find", such as this:
find / -name php.ini print
Another approach is to produce a "phpinfo.php" inside your Apache DocumentRoot folder, and let PHP let you know best places to place your php.ini:
<?php // Create this file in your Apache root, // then browse to http://localhost/phpinfo.php // Look for "Configuration File (php.ini) Path" in the resulting output phpinfo (); ?>
Make use of the
find feature in Linux, as per paulsm4 to locate
ctrl+f in Home windows and check for
files and folders -> php.ini to locate it in Home windows. I suggest you do that out of your web server's root directory instead of from another location otherwise, it might fail.
If you are going through a 500 error, you can examine your Apache log files. They are available in the
/apache/logs folder within the file
error.log, In my opinion. I purged the file after which triggered the mistake to isolate it. The data lead me towards the answer.
During my situation, the main reason I had been obtaining a 500 error was because my
.htaccess file was referencing a
.htpasswrd file that didn't exist. I transformed the road of code within the
.htaccess file which was focusing on the
.htpasswrd file to focus on a current
.htpasswrd file which i desired to use. I possibly could have just like soon replicated a correctly formatted
.htpasswrd file or made one on your own, though.
I have read at multiple sources that 500 errors have numerous causes. So, none of those steps are guaranteed to dedicate yourself you. If they don't, If only you luck, and Hopefully you'll publish an answer saying the way you fixed your 500 error, too--or, a hyperlink to some resolved question in regards to a 500 error.