Running a defect php file cause error 500

Posted by John Brunner on Server Fault See other posts from Server Fault or by John Brunner
Published on 2012-06-09T17:51:15Z Indexed on 2012/06/09 22:42 UTC
Read the original article Hit count: 294

Filed under:
|
|

When I address a PHP file, I always get an error 500. I've looked up the logs of my Apache server, and this displays that some includes etc. in the PHP file address files which don't exist on the server. They don't exist because I'm just testing my PHP file. But could it be achieved that the server runs the php file in every case, even when something is wrong?

Every 30 seconds an entry is made in the error_log file which says [Sat Jun 09 17:55:07 2012] [error] [client 10.224.55.160] File does not exist: /var/www/html/index.html ... but there IS an index.html?!

© Server Fault or respective owner

Related posts about apache2

Related posts about php