it's not loading php index file and it load html index in browser code example
Example: index.php wont load as main
Set index.php as Main
1. Create a .htaccess file in your root dir
2. Add the line...
DirectoryIndex index.php
3. Save it