Re: shtml or php ??
| From: | Dave.O | Date: | Fri, 03 Aug 2001 12:25:52 +0000 |
| Subject: | Re: shtml or php ?? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-61119@lists.php.net to get a copy of this message | ||
I know the virtual command works on my hosting company, and yes it appears
that my php is run as a cgi. Can I get php as a module on my windows based
development machine so that I can fully test scripts ??
I also found that when using the virtual command on my host that the perl
script didnt work properly, where as under SSI it does. Still no wiser at
the moment
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
>