404 error unless I use index.php
http://example.com/index.php works, but http://example.com/ gives a ‘404 Not Found’ error
Uncomment (remove the ”#” from) the following line in your .htaccess file:
#DirectoryIndex index.php index.html
If that doesn’t help, or causes a 500 Internal Server error, contact your web host tech support and ask them about enabling
DirectoryIndex for PHP files.