SYMPTOMS
When I am trying to open some PHP page, for example Webmail interface, the browser offers me to save the page instead of showing it's content.CAUSE
This issue occurs if wrong mime type is assigned to '.php' extension or when PHP Apache module is not configured properly.RESOLUTION
Make sure that proper mime type (text/html) is set for '.php' file extension:#grep 'AddType.*\.php' /etc/httpd/conf.d/* /etc/httpd/conf/httpd.conf
/etc/httpd/conf.d/php.conf:AddType text/html .php Check that PHP module is loaded into Apache configuration:
#grep 'LoadModule.*php' /etc/httpd/conf.d/* /etc/httpd/conf/httpd.conf
/etc/httpd/conf.d/php.conf:LoadModule php5_module modules/libphp5.so Restart Apache after any changes in configuration files.
Note, paths to Apache configuration files in your Operating System may differs from the ones that are listed above.