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.dllAddModule mod_php4.c
> 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.
> >
> 
> 
> 
> 


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to