Re: Keeps prompting to download php page???

From: Date: Thu, 18 Jul 2002 03:06:30 +0000
Subject: Re: Keeps prompting to download php page???
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-20614@lists.php.net to get a copy of this message
On Thursday 18 July 2002 03:28, NIPP, SCOTT V (SBCSI) wrote: > AddType application/x-httpd-php .htm The only Apache is going to render your php pages as php is if you tell it to. The above line only tells Apache to render .htm pages as php. > The AddType directive is exactly the same as another web server that > is working fine. I know that it shows ".htm", but it works fine on my > other server this way. Thanks again. You could be looking at the wrong httpd.conf in your other server, or you could have missed a line somewhere. The bottom line is add this line to your httpd.conf: AddType application/x-httpd-php .php -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* I think your opinions are reasonable, except for the one about my mental instability. -- Psychology Professor, Farifield University */

« previous php.db (#20614) next »