Re: shtml or php ??

From: Date: Sat, 04 Aug 2001 13:31:21 +0000
Subject: Re: shtml or php ??
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-61241@lists.php.net to get a copy of this message
This brings me back to an original problem I had before, I do have the instruction in my conf file to load php as a module but I get the following error:- [warn] loaded DSO c:/usr/php/sapi/php4apache.dll uses plain apache 1.3 api, this module might crash under EAPI! (please recompile it with -DEAPI) I have downloaded this binary from php.net I have tried 4.0.5 and 4.0.6 and I get this error on both. Any suggestions Dave ----- Original Message ----- From: "Richard Lynch" <ceo@l-i-e.com> To: <php-general@lists.php.net> Sent: Friday, August 03, 2001 4:01 AM Subject: Re: [PHP] shtml or php ?? > > Can anyone help me with this, I am using apache and assume that this > virtual > > command should work, am I best to leave it in shtml or should I change to > > php as I am using php more and more ??? Please can somebody help me > > There's using Apache with PHP as a Module, and there's using Apache with PHP > as a CGI. > > If your httpd.conf file has something like: > AddModule php > LoadModule php > Handler application/x-httpd-php php > (and not with comment character # in front of them) > you are using Module > > Conversely, if you httpd.conf file has stuff like: > Action application/x-httpd-php php > Alias php /path/to/php > in it, you are using CGI. > > Actually, I'm betting <?php phpinfo();?> will tell you if you are using PHP > as Module or CGI. > > If it's CGI, virtual will not work, as Rasmus said. > > -- > WARNING richard@zend.com address is an endangered species -- Use > ceo@l-i-e.com > Wanna help me out? Like Music? Buy a CD: > http://l-i-e.com/artists.htm > Volunteer a little time: http://chatmusic.com/volunteer.htm > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#61241) next »