Debugging 500 Internal Server error

Try the following command:

REDIRECT_STATUS=200 REQUEST_METHOD=GET SCRIPT_FILENAME=/home/richardbuz.de/index.php SCRIPT_NAME=/index.php PATH_INFO=/ SERVER_NAME=richardbuz.de SERVER_PROTOCOL=HTTP/1.1 REQUEST_URI=/ HTTP_HOST=richardbuz.de strace -s1024 /bin/php-cgi

Please replace these varaible for your own:

  • SCRIPT_FILENAME=
  • SCRIPT_NAME=
  • SERVER_NAME=
  • HTTP_HOST=