RE: [PHP-DEV] CGI and CLI (compromise proposal)
| From: | Sebastian Nohn | Date: | Thu, 19 Dec 2002 14:46:50 +0000 |
| Subject: | RE: [PHP-DEV] CGI and CLI (compromise proposal) | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-92683@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Edin Kadribasic [mailto:edink@proventum.net]
> Sent: Thursday, December 19, 2002 3:34 PM
> To: php-dev@lists.php.net
> Subject: [PHP-DEV] CGI and CLI (compromise proposal)
>
>
> After having consulted with Andrei, Derick and others on irc here is
> a proposal for a compromise:
>
> On Unix:
>
> 1. Both cgi and cli are built as 'php' in their respective sapi
> directories (pretty much as it is today except that cgi gets renamed
> back from php-cgi to just php).
> 2. Make install will *not* install cli if cgi build was selected
> (only cgi gets installed).
> 3. A new install target 'install-cli' is introduced so that make
> install-cli will overwrite whatever is in $(PREFIX)/bin/php.
>
> On Windows:
>
> 1. php.exe in the root of distribution is php cgi sapi.
> 2. New cli directory is included with php.exe (cli) in it.
I think this is the best idea so far as it can be implemented (and released
;) fast, would not break BC and gives people who want to use the cli-version
to use "php".
Regards,
Sebastian Nohn
--
sebastian@nohn.net - http://www.nohn.net/
PGP Key Available - Did I help you? Consider a gift:
http://www.amazon.de/exec/obidos/wishlist/3HYH6NR8ZI0WI/