Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Webmail index page getting downloaded - Debian and CentOS  (Read 2858 times)

0 Members and 1 Guest are viewing this topic.

Jithin

  • Guest
Webmail index page getting downloaded - Debian and CentOS
« 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