At 13:00 11-12-2002, Derick Rethans wrote:

On Wed, 11 Dec 2002, Zeev Suraski wrote:

Changing the name from php to php-cli will break BC:

[root@saturnus php-4.2.3]# ./configure --enable-cli
[root@saturnus php-4.2.3]# make
[root@saturnus php-4.2.3]# sapi/cli/php -v
4.2.3

And the CGI is also called 'php' here, having two different binaries
with both the name 'php' is even more confusing.
Having the cli in /usr/local/bin when a running server points there, is
not very healthy. Just overwriting the cgi binary with a newer version,
should not be a problem.

So, you're actually proposing to break BC here Zeev?
This does not have to be an issue on *nix*. This is where configure options
are for - providing people are really to lazy to type 1 alias in their
profile environment to alias phpsh[1]/php-cli to the right binary.

This is as much a one-time operation as changing a httpd.conf.

For win32 binaries - this is a whole different issue and taking into account
the stability of the isapi module, this is an area where it's used much.

Just leave the cgi module in the root dir and move the cli to bin/ on win32
if you really wanna have the same names.

[1] phpsh is not a good name, try running it as your shell...

With kind regards,

Melvyn Sopacua
<?php include("not_reflecting_employers_views.txt"); ?>


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

Reply via email to