Mike Leone on 29 Dec 2006 02:12:33 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] Problems activating Squirrelmail on Apache2 on Debian testing


I'm trying to get PHP4 activated in apache2 (I want to use squirrelmail, which requires PHP). So I installed apache2, php4 and php4-common, and libapache2-mod-php4. I go to test php by creating /var/www/testphp.php, and insert the line

<?php phpinfo(); ?>

When I browse to <http://10.0.0.20/testphp.php>, I get the test page, which tells me that php4 is running. (v 4.4.4-8)

So then I install squirrelmail and squirrelmail-locales. I configure Squirrelmail, and I make a link to activate it

ln -s /etc/squirrelmail/apache.conf etc/apache2/conf.d/squirrelmail.conf

and restart apache.

However, when I go to bring up the squirrelmail webpage <http://myip/squirrelmail>, my browser (IE or Firefox) wants to know what to do with a PHP file (application x-httpd-php). Web searches have been less than helpful.

What could be wrong?

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug