Re: Apache ignoring AddType? Apache 1.3.26 + PHP 4.2.1 on FreeBSD 4.6

From: Date: Tue, 16 Jul 2002 02:37:14 +0000
Subject: Re: Apache ignoring AddType? Apache 1.3.26 + PHP 4.2.1 on FreeBSD 4.6
References: 1 2  Groups: php.install 
Request: Send a blank email to php-install+get-7766@lists.php.net to get a copy of this message
Thanks for the response Chris, Don't know what the problem was. I ended up stripping everything and re-configuring/compiling/installing both Apache and PHP. The only difference was that this time I used these instructions @ http://www.php.net/manual/en/install.apache.php . This setup is slightly different. It uses apxs and generates libphp4.so. Anyway, now it works. (Woohoo!) -Jim "Chris Hewitt" <g0pae@manordat.demon.co.uk> wrote in message news:3D32CA55.5030501@manordat.demon.co.uk... > Jim wrote: > > >I compiled and installed PHP and apache without a hitch using the > >instructions here > >http://www.php.net/manual/en/install.unix.php . Everything > >seems ok except that Apache seems to be ignoring the "AddType > >application/x-httpd-php .php" directive, instead of having php process the > >script file (phpinfo) the browser prompts for download. I know it's reading > >the httpd.conf because I can insert garbage and get apache to break. I see > >no errors in the error log except for restart messages. > > > >I'm sure this is something simple I've overlooked but... I'm racked.. any > >suggestions? > > > Jim, > > Have you restarted Apache? Is php an Apache module? Is the AddType line > inside a <Ifconfig> statement that is not actually being executed? > > These are a few questions I asked myself when I had this. I did not find > a fault but it started working so I could not trace the reason further. > > HTH > Chris >

« previous php.install (#7766) next »