1 (edited by vinson 2011-03-26 07:03:14)

Topic: php page cannot run after installed iredmail

Hello,

I am running centos 5.5 32 bit.
I erase httpd and sendmail before installing iRedMail.
After all done, everything works fine.

However, when I put index.php with phpinfo(); in the /var/www/html directory.
It returns a blank page.

What is wrong?

Thank you.

----

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

2

Re: php page cannot run after installed iredmail

vinson wrote:

Hello,

I am running centos 5.5 32 bit.
I erase httpd and sendmail before installing iRedMail.
After all done, everything works fine.

However, when I put index.php with phpinfo(); in the /var/www/html directory.
It returns a blank page.

What is wrong?

Thank you.

in ubuntu 10.10 server I followed this link:

http://forum.ubuntu-it.org/index.php?topic=440462.0

It's italian ubuntu forum, but it's simple to see...

Just purge and reinstall the apache2 module

sudo apt-get purge libapache2-mod-php5
sudo apt-get install libapache2-mod-php5

hope this help

3

Re: php page cannot run after installed iredmail

vinson wrote:

However, when I put index.php with phpinfo(); in the /var/www/html directory.
It returns a blank page.

It should be:

<?php phpinfo(); ?>

Also, any error log in apache error log?