Load index.php instead of index.html

In a properly configured webserver, index.php is loaded instead of the default index.html. If index.php is not loaded by default, check for the following in your .htaccess file:

DirectoryIndex index.php

Once you add this, reload apache2:

service apache2 restart

index.php should now be loaded instead of index.html. If it still does not get loaded, check that .htaccess has been properly setup.

You are reading this post on Joel G Mathew’s tech blog. Joel's personal blog is the Eyrie, hosted here.