Re: [PHP-DEV] CGI and CLI (compromise proposal)

2003-01-04 Thread Marcus Börger
At 22:41 03.01.2003, Jean-Michel Dault wrote: Hello all, Sorry to re-activate this topic, but I stumbled into an issue when packaging PHP 4.3 as an RPM for Mandrake. What happens when a user wants to install *both* php-cli and php-cgi? You cannot have two files with the same name, either in the

Re: [PHP-DEV] CGI and CLI (compromise proposal)

2003-01-04 Thread Jean-Michel Dault
Le sam 04/01/2003 à 08:15, Marcus Börger a écrit : What happens when a user wants to install *both* php-cli and php-cgi? You cannot have two files with the same name, either in the same RPM, or in two different RPMS... This is not RPM specific, since it will create the same problem with apt,

Re: [PHP-DEV] CGI and CLI (compromise proposal)

2003-01-04 Thread Marcus Börger
At 21:57 04.01.2003, Jean-Michel Dault wrote: Le sam 04/01/2003 à 08:15, Marcus Börger a écrit : What happens when a user wants to install *both* php-cli and php-cgi? You cannot have two files with the same name, either in the same RPM, or in two different RPMS... This is not RPM specific,

Re: [PHP-DEV] CGI and CLI (compromise proposal)

2003-01-04 Thread Jean-Michel Dault
What might happen is that CLI becomes widely accepted and scripts calling php from shebang lines. Id so your above solution is a bad idea and i hope CLI will be... That's a minor problem for me, since the shebang is never standard. Some people put it in /usr/local, some in /opt, some in

Re: [PHP-DEV] CGI and CLI (compromise proposal)

2003-01-03 Thread Jean-Michel Dault
Hello all, Sorry to re-activate this topic, but I stumbled into an issue when packaging PHP 4.3 as an RPM for Mandrake. What happens when a user wants to install *both* php-cli and php-cgi? You cannot have two files with the same name, either in the same RPM, or in two different RPMS... This

Re: [PHP-DEV] CGI and CLI (compromise proposal)

2002-12-20 Thread Andrei Zmievski
On Fri, 20 Dec 2002, Marcus Börger wrote: What about uniqid(): http://www.zend.com/zend/week/week116.php#Heading5 I would go for disabling when not available and sending an error when calling from cygwin without more entropy parameter set to true. The rest can be fixed for 4.3.1 as it seems

[PHP-DEV] CGI and CLI (compromise proposal)

2002-12-19 Thread Edin Kadribasic
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

RE: [PHP-DEV] CGI and CLI (compromise proposal)

2002-12-19 Thread Sebastian Nohn
-Original Message- From: Edin Kadribasic [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 19, 2002 3:34 PM To: [EMAIL PROTECTED] 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

Re: [PHP-DEV] CGI and CLI (compromise proposal)

2002-12-19 Thread Wez Furlong
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

Re: [PHP-DEV] CGI and CLI (compromise proposal)

2002-12-19 Thread Marcus Börger
At 15:33 19.12.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

Re: [PHP-DEV] CGI and CLI (compromise proposal)

2002-12-19 Thread Andrei Zmievski
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

Re: [PHP-DEV] CGI and CLI (compromise proposal)

2002-12-19 Thread Edin Kadribasic
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

Re: [PHP-DEV] CGI and CLI (compromise proposal)

2002-12-19 Thread Sebastian Bergmann
Edin Kadribasic wrote: If this is an acceptable compromise I volunteer to do the changes required. Sounds reasonable to me, +1. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift:

Re: [PHP-DEV] CGI and CLI (compromise proposal)

2002-12-19 Thread Andrei Zmievski
On Thu, 19 Dec 2002, Edin Kadribasic wrote: Here is the patch against PHP_4_3 that implements the Unix side of changes. Go ahead and apply it. We obviously need RC4 now so commit your critical fixes to other areas ASAP, because I want to release the RC tonight or tomorrow. -Andrei

Re: [PHP-DEV] CGI and CLI (compromise proposal)

2002-12-19 Thread Adam Maccabee Trachtenberg
I'm 95% that PEAR works with cgi, but we should check with Stig to make sure it doesn't assume that cli will always be installed. Since pear and cli were both going live with 4.3 they may be coupled. -adam On Thu, 19 Dec 2002, Andrei Zmievski wrote: This gets my complete support. Let's go

Re: [PHP-DEV] CGI and CLI (compromise proposal)

2002-12-19 Thread Frank M. Kromann
Edin, Are you doing the changes on Win32 also _ If not I'll make the changes. - Frank 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.

Re: [PHP-DEV] CGI and CLI (compromise proposal)

2002-12-19 Thread Edin Kadribasic
: [PHP-DEV] CGI and CLI (compromise proposal) Edin, Are you doing the changes on Win32 also _ If not I'll make the changes. - Frank 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

Re: [PHP-DEV] CGI and CLI (compromise proposal)

2002-12-19 Thread Leon Atkinson
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

Re: [PHP-DEV] CGI and CLI (compromise proposal)

2002-12-19 Thread Marcus Börger
At 17:53 19.12.2002, Andrei Zmievski wrote: On Thu, 19 Dec 2002, Edin Kadribasic wrote: Here is the patch against PHP_4_3 that implements the Unix side of changes. Go ahead and apply it. We obviously need RC4 now so commit your critical fixes to other areas ASAP, because I want to release the