index.php file keeps redirecting to a non-existent index.html file?

“Redirect” from index.php to index.html might be caused by your apache settings. If you have index.html before index.php in your apache config file and you have both of these files in your folder, it will go for the index.html.

Try to add this to your .htaccess file (index.php preferred over index.html)

DirectoryIndex index.php index.html

or change it in your apache config file. On Mac:

sudo nano /etc/apache2/httpd.conf

and look for DirectoryIndex.