Re: CGI and CLI (compromise proposal)
| From: | Edin Kadribasic | Date: | Thu, 19 Dec 2002 16:53:19 +0000 |
| Subject: | Re: CGI and CLI (compromise proposal) | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-92688@lists.php.net to get a copy of this message | ||
Here is the patch against PHP_4_3 that implements the Unix side of
changes.
Edin
On Thu, 19 Dec 2002, Andrei Zmievski wrote:
> This gets my complete support. Let's go ahead with the changes.
>
> 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.
>
> -Andrei
> http://www.gravitonic.com/
> * The great thing about standards is that there are so many to choose from. *
>
>