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

From: Date: Mon, 15 Jul 2002 13:12:53 +0000
Subject: Re: Apache ignoring AddType? Apache 1.3.26 + PHP 4.2.1 on FreeBSD 4.6
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-7752@lists.php.net to get a copy of this message
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 (#7752) next »