I’ve built a website and some of the pages are php pages (e.g. SomePage.php). It all works fine; both the html pages and the php pages come up and work just fine.
I then made a change to the main index.html file and made it so that it’s an index.php file instead, and it has some php code embedded in it, not much different than any of the other php pages on my site.
But when I try to go to that index.php file, as the first file to bring up for the site, it fails to bring up the page but instead pops up an Open File dialog, asking if I want to Open or Save the index.php file. It’s as if the server is not recognizing index.php as being a php file that needs the normal php pre-processing on the server side. I used to get similar prpoblems with the other php pages before I had my server properly set up with Apache and php and such. But all of that is indeed properly set up. The OTHER php pages come up OK. It’s just the very first, index.php page, that doesn’t come up correctly.
What am I doing wrong?
Is there a standard way for making it bring up the first page as a php file?