Mark Baker on 4 Aug 2008 13:33:10 -0700


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

Re: [PLUG] Apache 2, PHP, + cgi scripts


Hi Adam,

Check your httpd.conf for the following entry:

AddType application/x-httpd-php .php

The addtype line is what is probably causing the pages not to be handled
correctly by your browser.

Mark

> -----Original Message-----
> From: plug-bounces@lists.phillylinux.org
[mailto:plug-bounces@lists.phillylinux.org] On Behalf
> Of Adam J. Zion
> Sent: Monday, August 04, 2008 10:38 AM
> To: PLUG
> Subject: [PLUG] Apache 2, PHP, + cgi scripts
> 
> OK, here's the issue. I'm trying to set up a test helpdesk software
> server using linux, and need to configure it to use PHP properly. Right
> now, when I try to load the setup page for the helpdesk package I want
> to test- osTicket, if that matters- all I get is a message from my
> browser asking how to handle the PHP page in question. I imagine that
> this is b/c Apache 2 isn't handling the PHP page properly.
> 
> So, how do I get PHP configured properly in Apache 2? And are cgi pages
> handled differently or will they begin working when I get PHP to
> co-operate?
> 
> Thx.
> 
> --
> Adam Zion, MCSE+I, Registered Linux User #471910
> 
> Si se puede.
> _____________________________________________________________________
> ______
> 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

___________________________________________________________________________
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