2011-06-22 76 views
22
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 

これはローカルシステムで正常に動作しますが、サーバーでは機能しません。なぜ誰かがそれを理解するのに役立つことができますか? ありがとうございます!サーバーで内部エラーまたは構成ミスが発生し、要求を完了できませんでした

+6

にあるサーバのログを見てください。 。 – Mat

+2

'このエラーに関する詳細は、サーバーのエラーログで利用可能である可能性があります。 'サーバーログにこれ以上の情報はありますか?これは一般的なApacheのエラーで、「他のコンポーネントでエラーが発生しました」という意味です。通常、PHPスクリプトでエラーが発生する可能性があります(develとliveの異なるディレクトリパス?ファイルシステムのアクセス権?データベースのアクセスエラー?) – Piskvor

+0

Dup:http://stackoverflow.com/questions/5127838/where-does- php-store-the-error-log –

答えて

22

サーバーのエラーログを確認してください。通常は/var/log/apache2/error.logです。

13

ログディレクトリのerror_logファイルでエラーを探してください。たぶん、ローカルとサーバのコンフィギュレーションの間に違いがある(etc.etc DBユーザー/パスワードが。)

通常、ログファイルは

/var/log/apache2/error.log 

または

/var/log/httpd/error.log 
+0

サーバ上でどのようにチェックできますか? –

+0

サーバーの場合: パテ: tail -f /var/log/apache2/error.log コアftpまたはfilezillaまたはwinscpを使用している場合は、単にフォルダに移動するよりも。 – Rishabh

関連する問題