> 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 [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to