Admin-Ahead Community

Linux => Control Panels => Plesk => Topic started by: Jithin on October 23, 2013, 04:55:47 am

Title: Webmail index page getting downloaded - Debian and CentOS
Post by: Jithin on October 23, 2013, 04:55:47 am
It is a common issue with Plesk. When you click on the webmail link, it will download the index.php page instead executing it.

Here is the easy fix.

 CentOS
=========
vim /etc/httpd/conf.d/php.conf

Enter the line.
-------------------------------------------------------------------------------------------------
LoadModule php5_module modules/libphp5.so
-------------------------------------------------------------------------------------------------

/etc/init.d/httpd restart


Debian
==========
 vim /etc/apache2/conf.d/php_cgi.conf

Enter the line.
-------------------------------------------------------------------------------------------------
LoadModule php5_module /usr/lib/apache2/modules/libphp5.so
-------------------------------------------------------------------------------------------------

/etc/init.d/apache2 restart