I have this file, index.php. I FTP’d it to my web server. When I go to the page mydomain.com/index.php my browser downloads the php file instead of loading the page.
The only code in the php file is <?php echo "hello world;" ?>.
Why isn’t the page loading as intended?
If you have PHP installed on the server already, you should ensure that Apache recognizes it by configuring httpd.conf properly.