CGI and CLI (compromise proposal)
| From: | Edin Kadribasic | Date: | Thu, 19 Dec 2002 14:33:41 +0000 |
| Subject: | CGI and CLI (compromise proposal) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-92682@lists.php.net to get a copy of this message | ||
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.
Edin