Re: Q on PHP 4.3.2 & Apache 2.0.43

From: Date: Fri, 01 Aug 2003 00:21:53 +0000
Subject: Re: Q on PHP 4.3.2 & Apache 2.0.43
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-20959@lists.php.net to get a copy of this message
"Sek-Mun Wong" <sekmun@connectingspace.com> wrote in message news:20030801000007.61402.qmail@pb1.pair.com... > red herring! well, wild goose maybe. > those are Apache directives you've listed, right > not php.ini settings. right > I assume you mean php.conf which is included by httpd.conf? Right again. > > I assume you know how to install php as a SAPI module (you've got all the > directives below plus the help url) I can only assume you are refering to... LoadModule php4_module "/etc/php/sapi/php4apache2.dll" <snip copied docs> > # > cli/php -r > 'readfile("http://pear.php.net/go-pear");' > > go-pear Yes, thank you for that walk through. I'm not looking for the command line version. I'm asking why the web version gives me CGI error. If I comment out a few lines in the go-pear, it works fine, I get the web version. I just would like to know why it thinks I'm in CGI mode. In fact, I'd like to know how to tell if I'm in CGI mode or SAPI mode. Thanks Walter

« previous php.windows (#20959) next »