[PHP] Re:[PHP] PHP as CGI (Linux) From: J. Heffner (jheffner <email protected>)
Date: 12/28/00

Yes, that's what I meant, but I must have missed the section in the
Apache manual, "Configuring the Apache Server to Run PHP as a CGI
with suexec in a Virtual Host Environment." No offense, but I was
hoping for a response that could point me in a direction other than
the painfully obvious.

Thanks anyway.

Jim Heffner

>How do you mean mirror this environment? I take it you mean duplicate the
>setup on another server or your own machine. If the original is on Linux and
>you want to do the same on your own Linux box then take a look at the docs.
>It should be as simple as putting the parser in the cgi-bin directory and
>modifying Apache to point to the handler there.
>
>----- Original Message -----
>From: J. Heffner <jheffner <email protected>>
>To: <php-general <email protected>>
>Sent: Thursday, December 28, 2000 11:26 PM
>Subject: [PHP] PHP as CGI (Linux)
>
>
>>
>> I know from a little research that this topic has been discussed
>> often, but I've still come across a situation that I haven't yet been
>> able to figure out.
>>
>> I'm working with an ISP that has PHP available ONLY as a CGI, and the
>> binary is installed in each virtual host's cgi-bin. Even so, I can
>> run everything I've done with a module-based install, without
>> changing a thing. In other words, I don't have to insert the
>> #!/usr/local/bin/php (or wherever it is) at the beginning of each
>> file, I don't have to change the .php3 extension to .cgi, I don't
>> need to have the php files in their own directory, and I can still
>> use the "on-the-fly" (<? ?>) stuff without any problems. The problem
>> is that I'd like to mirror this environment, but I can't figure out
>> how they have their apache configuration file set up. I like the CGI
>> version better (despite the purported performance hit), because it
>> allows using php with suexec...now if only I could figure out how to
>> do it...
>>
>> Any suggestions will be appreciated.
>>
>> Regards,
>>
>> Jim Heffner
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, e-mail: php-general-unsubscribe <email protected>
>> For additional commands, e-mail: php-general-help <email protected>
>> To contact the list administrators, e-mail: php-list-admin <email protected>
>>
>>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: php-general-unsubscribe <email protected>
>For additional commands, e-mail: php-general-help <email protected>
>To contact the list administrators, e-mail: php-list-admin <email protected>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>