Re: Re: php files not being parsed -

From: Date: Tue, 04 Feb 2003 14:20:30 +0000
Subject: Re: Re: php files not being parsed -
References: 1 2  Groups: php.install 
Request: Send a blank email to php-install+get-9941@lists.php.net to get a copy of this message
Yes I am - but still nothing. I can still view the source in the browser and see the source code but it is not being parsed. -- Terry Ensley "Ryan Williams" <rwilliam@brandeis.edu> wrote in message news:Pine.LNX.4.44.0302040911450.7180-100000@groucho.unet.brandeis.edu... > I am assuming your restarting you server after any changes? > > -- > Ryan Williams > > > > On Tue, 4 Feb 2003, Terry L. Ensley wrote: > > > I did what you suggested - which is actually the way I first started - I > > deleted the action line. > > > > I do have both of these - in their proper places: > > > > LoadModule php4_module c:/files/php/sapi/php4apache. > > AddModule mod_php4.c > > > > > > And then in the AddType section towards the bottom of the file I have: > > > > AddType application/x-httpd-php .php > > > > I copied these lines from my httpd.conf file - > > > > But still nothing - it has me stumped - Any thoughts? > > > > > > > ... seems that you try loading PHP as modul AND as CGI ... note: if you > > use > > > the PHP modul with > > > > > > LoadModule php4_module C:/PHP/SAPI/PHP4APACHE.DLL > > > ... > > > AddModule mod_php4.c > > > > > > you don't need the "Action application/..." Line! > > > > > > Cause the Action meen that this extern program is called as a CGI. With > > the > > > modul version this functionality is bundeld into apache itself. Might be > > > confusing for Apache what he should do, call CGI and/or the modul. > > > > > > If you wish to use the CGI version (not recommed) then you have to specify > > > the Path of the Action correctly. To do this you need also a line like: > > > > > > ScriptAlias /php/ "C:/Files/PhP/" > > > > > > so that apache know where the directory "/php/" is, so that it looks like: > > > > > > ScriptAlias /php/ "C:/Files/PhP/" > > > ... > > > AddType application/x-httpd-php .php > > > Action application/x-httpd-php "/php/php.exe" > > > > > > Than you don't need the LoaModule & AddModule lines ! Comment it out like: > > > > > > # LoadModule php4_module C:/PHP/SAPI/PHP4APACHE.DLL > > > ... > > > # AddModule mod_php4.c > > > > > > But the better way is to use the modul version !!! > > > > > > > > > hope this will help, regards, G.Lohmann > > > > > > -- > > > @ Goetz Lohmann, Germany | Web-Developer & Sys-Admin > > > \/ ------------------------------------------------------ > > > () He's the fellow that people wonder what he does and > > > || why the company needs him, until he goes on vacation. > > > > > > > > > > > >

« previous php.install (#9941) next »