[ubuntu-uk] apache not correctly running php scripts
Simon Greenwood
sfgreenwood at gmail.com
Fri Oct 22 23:19:22 BST 2010
You might need to install suphp or set a mime type in Apache to handle
suphp.
s/
On 22 October 2010 21:35, Jacob Mansfield <cyberjacob at gmail.com> wrote:
> still nothing I'm afraid
> Jacob Mansfield
> Programmer
>
>
>
> On 20 October 2010 23:42, Marc Deslauriers <marcdeslauriers at videotron.ca>wrote:
>
>> On Wed, 2010-10-20 at 22:29 +0100, 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
>>
>> I've seen this happen before if php was installed after, or at the same
>> time as Apache. You need to restart the apache server for it to start
>> serving php pages.
>>
>> Once you visit it with firefox once, it's now in firefox's cache, so it
>> will always offer you to download that page from now on, even if you
>> restarted your apache server. You might need to completely clear out
>> firefox's cache, or try from a different computer.
>>
>> Marc.
>>
>>
>>
>> --
>> ubuntu-users mailing list
>> ubuntu-users at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>>
>
>
> --
> ubuntu-uk at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
> https://wiki.ubuntu.com/UKTeam/
>
>
--
My CV: http://bit.ly/sfgreenwood_cv
Linkedin: http://www.linkedin.com/in/simonfgreenwood
Twitter: @sfgreenwood
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-uk/attachments/20101022/77abf0f5/attachment.htm
More information about the ubuntu-uk
mailing list