I'm with Shane, that sounds like a really poor idea.

On Wednesday, December 18, 2002, at 04:38  PM, Shane Caraveo wrote:

Robin Thellend wrote:
On Wed, 18 Dec 2002, Derick Rethans wrote:
[...]
I didn't say that it should be changed from php to php-cgi, as I do
think that would be bad.

Derick
Why don't you just add a simple check in the CLI code to exec() the CGI
binary if it is called as a CGI?
if(getenv("GATEWAY_INTERFACE") != NULL)
execv("/path/to/php-cgi", argv);
Lets not compound one bad idea with another.

Shane


--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php


--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to