[rt-users] RT, Apache and PHP

Greg Smythe gregs at Intellstat.com
Sat Feb 9 01:54:13 EST 2002


Check your httpd.conf and make sure the line "AddType
application/x-httpd-php .php" isn't commented out....

It kinda sounds like PHP didn't install completely/correctly?




-=-=-=-=-=-=-=-=-=-=-=-=-=-
Greg Smythe
SysAdmin
Intellstat Communications
WA State Resident




-----Original Message-----
From: Bolivar Geraldo [mailto:bgeraldo at sockeye.com] 
Sent: Friday, February 08, 2002 4:49 PM
To: rt-users at lists.fsck.com
Subject: [rt-users] RT, Apache and PHP


I'm running the RT 2.0.11

I have installed PHP4 on the server that is running my company's RT
instance, but I'm having trouble getting Apache to parse .php files.
When I comment the following out of my httpd.conf, everything works
fine:

PerlModule Apache::DBI
PerlFreshRestart On
PerlRequire /opt/rt2/bin/webmux.pl
<Location />
 SetHandler perl-script
 PerlHandler RT::Mason
</Location>

When I put it back in, I get asked to download the .php file instead of
parsing it. Can anyone tell me what exactly the code above does and/or
if there is a way around this?

Thank you in advance

Bolivar

-- 
Bolivar Geraldo (Junior)
NOC Analyst
E-mail: bgeraldo at sockeye.com




More information about the rt-users mailing list