apache not correctly running php scripts

Alan Lord (News) alanslists at gmail.com
Wed Oct 20 22:26:18 UTC 2010

On 20/10/10 22:29, Jacob Mansfield wrote:
> I am trying to install squirrelmail onto my new mail server, however it
> appears that Apache is not running the server-side php scripts as when I
> try to open the squirrelmail page FireFox reports that the file will be
> downloaded as it's mime type is application/x-httpd-suphp if i open the
> downloaded file I can see that none of the php has been phrased is is
> clearly visible, which it should not be. I'd like some help on this one
> as I'm a web developer not a mail server admin

Does your server have the relevant apache php modules installed?

When I want to have Apache+Php+MySQL I just install the whole shebang with:

sudo tasksel install lamp-server

It sounds like Apache hasn't been configured to use php.

just a quick note as it's late but hope it helps.


The Open Learning Centre

More information about the ubuntu-users mailing list