Re: *.PHP "save-as" dialog

From: Date: Wed, 06 Nov 2002 10:16:15 +0000
Subject: Re: *.PHP "save-as" dialog
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-122958@lists.php.net to get a copy of this message
On Wednesday 06 November 2002 01:50, Lee Philip Reilly wrote: > Thanks for your reply. I took out the following lines, and restarted > Apache, but I still have the same problem... > > ---------------- > </IfDefine> > <IfDefine HAVE_PHP> > LoadModule php_module modules/mod_php.so > </IfDefine> > <IfDefine HAVE_PHP3> > LoadModule php3_module modules/libphp3.so > </IfDefine> > <IfDefine HAVE_PHP4> > LoadModule php4_module modules/libphp4.so > </IfDefine> > ---------------- You're looking at the wrong thing. IIRC you compiled php as CGI, those lines are only relevant if you're using PHP as a module. I'm not sure, but I think you have to look the the "ExecCGI" option and use the "AddHandler" directive to tell apache to treat files ending with '.php' as a cgi program. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* Men love to wonder, and that is the seed of science. */

« previous php.general (#122958) next »