fix 500 Internal server error in php files
Hello,
My PHP files all display a 500 Internal server error when i'm attempting to access PHP files through the temp-URL http://serverName/~username/index.php
error message:
The request was not completed. The server met an unexpected condition.
Please forward this error screen to 192.163.xxx.xxx's WebMaster.
I try http://serverName/~username/test.html with a basic HTML and it works correctly.
How can I fix this? :(
Thank you
-
Hey, Check the httpd error_logs to see if there is anything when you try to access your PHP files 0 -
Hello :) Please review /usr/local/apache/logs/error_log to see the exact reason for the 500 internal server error message. Also, consider modifying the hosts file on your machine so you can access the domain name directly instead of using the Apache Mod_UserDir tweak. Thank you. 0
Please sign in to leave a comment.
Comments
2 comments