Re: CGI and CLI (compromise proposal)
| From: | Wez Furlong | Date: | Thu, 19 Dec 2002 14:47:45 +0000 |
| Subject: | Re: CGI and CLI (compromise proposal) | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-92684@lists.php.net to get a copy of this message | ||
If my vote has enough "Karma Power", then I'm +1 for this solution.
--Wez.
On Thu, 19 Dec 2002, Edin Kadribasic wrote:
> 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.
>
> If this is an acceptable compromise I volunteer to do the changes
> required.