My site having 4-5 static pages only. index.html & index.php both are there. index.html is working fine. If I change to index.php, it's giving 500 Internal Server Error
. I don't know where is my mistake?
Note:
If I use .htaccess file with php_flag display_errors 1
,
It's showing Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
If I use .htaccess file with empty
,
It's showing Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
And if I give ../contact-us.php
, it's showing correctly.
Thanks...