1

Topic: Roundcube displaying PHP text, not executing

==== Required information ====
- iRedMail version: 0.8.6
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: Debian 7.3
- Related log if you're reporting an issue:
====

I installed IRedMail 0.8.6 on a fresh install of Debian 7.3.  I tested Roundcube (and a few other parts), and it was working.

However, I then installed a number of other programs, several hundred with all dependencies, including a number of PHP modules.  Now Roundcube mail no longer executes, and instead just displays raw PHP text.  I don't see any entry in my error logs about it, and phpinfo seems to work (I haven't put any other web content on the server at this time). 

How should I proceed?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Roundcube displaying PHP text, not executing

snarfies wrote:

Now Roundcube mail no longer executes, and instead just displays raw PHP text.

Do you have 'index.php' listed in Apache parameter like below?

DirectoryIndex index.php index.html

3

Re: Roundcube displaying PHP text, not executing

ZhangHuangbin wrote:
snarfies wrote:

Now Roundcube mail no longer executes, and instead just displays raw PHP text.

Do you have 'index.php' listed in Apache parameter like below?

DirectoryIndex index.php index.html

Thanks - but which of the hundreds of Apache conf files should that be in?  smile