View Single Post

  #3 (permalink)  
Old 09-22-2004
Piet
 
Posts: n/a
Default Re: Newbie: Apache 2.0.50/Win2K executes PHP 4.3.8 as CGI instead of module?

Simon Stienen <simon.stienen@news.slashlife.de> wrote in message news:<saav9c7loz38$.dlg@news.dangerouscat.net>...
> Piet <Piet <pit.grinja@gmx.de>> wrote:
> > Apparently, apache is trying to execute the index.php as a CGI script
> > with an external interpreter and not as an apache module. I went
> > through the documentation of both apache and php, but that wasnīt
> > successful, maybe because I do not know what I am looking for exactly.
> > I know that the support of apache2 by PHP is experimental, but I
> > believe that it should at least work?

> Everything in cgi-bin is considered as CGI script and therefore handled as
> one. Instead, put your PHP scripts in your normal htdocs, where your static
> files are and the scripts should work.

That was the whole mistake...I donīt believe it.
Many thanks
Piet
Reply With Quote