Re: shtml or php ??

From: Date: Fri, 03 Aug 2001 03:01:27 +0000
Subject: Re: shtml or php ??
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-61069@lists.php.net to get a copy of this message
> 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

« previous php.general (#61069) next »