Webpage keeps asking me to save or open

I just installed the latest Apache and PHP on RedHat 7.3. When going to my domain's homepage (index.php), it keeps on asking me if I want to save or open the file.

Anyone know how to fix this where it simply just displays the page like any other webpage, without asking visitors whether they want to open or save?

I think it has to do with the "AddType application/x-httpd-php" part in the httpd.conf file of Apache, but I'm not sure. Any help would very much be appreciated.

 

 

 

 

Top