The server encountered an internal error or misconfiguration and was unable to complete your request

PhpMysqlApache

Php Problem Overview


The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
Apache/2.2.0 (Fedora) Server at bbt.com Port 80

This works fine in my local system but it is not working in the server. Can anyone help to figure out why it is? Thanks in advance!

Php Solutions


Solution 1 - Php

Check your servers error log, typically /var/log/apache2/error.log.

Solution 2 - Php

You should look for the error in the file error_log in the log directory. Maybe there are differences between your local and server configuration (db user/password etc.etc.)

usually the log file is in

/var/log/apache2/error.log

or

/var/log/httpd/error.log

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionanbusekarView Question on Stackoverflow
Solution 1 - PhpKonerakView Answer on Stackoverflow
Solution 2 - PhpNicola PeluchettiView Answer on Stackoverflow