View Single Post

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

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.

--
Simon Stienen <http://dangerouscat.net> <http://slashlife.de>
»What you do in this world is a matter of no consequence,
The question is, what can you make people believe that you have done.«
-- Sherlock Holmes in "A Study in Scarlet" by Sir Arthur Conan Doyle
Reply With Quote