There are barely 4-5 static pages on my website. Both index.html and index.php are present. Index.html is operating well. When I switch to index.php, a 500 Internal Server Error message appears. I'm not sure where I went wrong.
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 the .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. Can someone please help me with this?