Admin-Ahead Community

Linux => Control Panels => Plesk => Topic started by: Karun on December 12, 2013, 09:20:10 am

Title: Accessing Webmail in Plesk downloads login.php file
Post by: Karun on December 12, 2013, 09:20:10 am

Accessing Webmail in Plesk downloads login.php file


The very first step of verifying or checking a mail issue is creating a test account and testing the sending and receiving. But at times in Plesk Panel, the real issue starts after that  :P. Sometimes while accessing webmail in Plesk(atmail/horde), it will just download a login.php file. This happens due to missing modules in the php configuration file.

Follow this as a workaround:

For Centos OS:
- Open the file  /etc/httpd/conf.d/php.conf
- Add the following modules.
-------
<IfModule prefork.c>
  LoadModule php5_module modules/libphp5.so
</IfModule>
<IfModule worker.c>
  LoadModule php5_module modules/libphp5-zts.so
</IfModule>
----
- Restart Apache service.


For Debain OS:
- Open the file /etc/apache2/conf.d/php_cgi.conf
-Add the following module
---
LoadModule php5_module /usr/lib/apache2/modules/libphp5.so
---
-Restart Apache