Re: [PHP-DEV] CLI max_execution_time

2002-03-27 Thread Stig S. Bakken
On Sun, 2002-03-24 at 15:40, Marcus Börger wrote: At 15:32 24.03.2002, Markus Fischer wrote: Would you EVER expect a bash/perl/awk/sed/python/nameit script by default only run a certain amount of time, namely it's maximum execution time ? Certainly not. No i don't but is a

Re: [PHP-DEV] Re: Session patch

2002-03-27 Thread derick
Hello Mark, We would like this indeed, but not 'love' it :) Derick On Tue, 26 Mar 2002 [EMAIL PROTECTED] wrote: If it is possible, I'd like to push this one on to the fast track. I have a couple msession users that would REALLY like this patch, and I'm sure the SRM guys would love to

Re: [PHP-DEV] Re: Session patch

2002-03-27 Thread mlwmohawk
Hello Mark, We would like this indeed, but not 'love' it :) I meant to say I'm sure the SRM guys would love this. perhaps that was an overstatement. Oh well, but it answers a lot of issues about who creates the session id. Should php create the session id, or should the session

[PHP-DEV] sapi/cli broken in HEAD?

2002-03-27 Thread Wez Furlong
Hey, make test does not work for me anymore. It seems that ./sapi/cli/php run-tests.php goes into an infinite wait while parsing the script, whereas ./sapi/cli/php run-tests.php will run, but none of the tests will succeed. Can anyone else confirm this? --Wez. -- PHP Development Mailing

Re: [PHP-DEV] sapi/cli broken in HEAD?

2002-03-27 Thread Wez Furlong
Rolling back to php_cli.c revision 1.10 fixes this for me. On 27/03/02, Wez Furlong [EMAIL PROTECTED] wrote: Hey, make test does not work for me anymore. It seems that ./sapi/cli/php run-tests.php goes into an infinite wait while parsing the script, whereas ./sapi/cli/php run-tests.php

Re: [PHP-DEV] sapi/cli broken in HEAD?

2002-03-27 Thread Wez Furlong
Actually, I'm getting a bit tired of things breaking so much recently; (the multiple function declaration in class thing and now this cli thing) can people checking code into CVS try to make sure that it compiles and that make test runs without too much trouble? It really is there for a purpose.

[PHP-DEV] [PATCH] ncurses_functions.c

2002-03-27 Thread Vlad Bosinceanu
PHP segfaults if ncurses_refresh is called before ncurses_init... Index: ncurses_functions.c === RCS file: /repository/php4/ext/ncurses/ncurses_functions.c,v retrieving revision 1.18 diff -u -r1.18 ncurses_functions.c ---

[PHP-DEV] nsapi broken on aix 4.3.3 with iPlanet 4.1

2002-03-27 Thread J.Smith
Hi. I've been having some problems with the nsapi module for iPlanet 4.1 on AIX 4.3.3, and I was kinda hoping someone here could give me some tips. When I compile PHP as an iPlanet module on AIX 4.3.3, the httpd server crashes on loading the module (php4_init) with a signal 11/segmentation

Re: [PHP-DEV] sapi/cli broken in HEAD?

2002-03-27 Thread Marcus Börger
So one problem is my last 'fix' : i commited the older version ***sorry on that*** before realising that one of its reasons was wrong (See Kristians mail http://lists.php.net/article.php?group=php.devarticle=81817): The file must start like this: #!/usr/bin/php -f and not #!/usr/bin/php -- cvs

[PHP-DEV] Re: Re: Session patch

2002-03-27 Thread Sascha Schumann
Should php create the session id, or should the session handler? PHP should. Here is something to think about. It is hard to generate hard to guess session ids. PHP has various internal entropy sources and can read from system provided entropy sources as well. That gives PHP

Re: [PHP-DEV] sapi/cli broken in HEAD?

2002-03-27 Thread derick
Hello, is there something broken in the release branch too? Derick On Wed, 27 Mar 2002, Marcus Börger wrote: So one problem is my last 'fix' : i commited the older version ***sorry on that*** before realising that one of its reasons was wrong (See Kristians mail

[PHP-DEV] Building PHP on Windows

2002-03-27 Thread Ernesto
Hi, I just managed to build PHP on Win32 (Apache module) and I noted something weird: The php4ts.dll file that ships with PHP 4.1.2 is about 1 MB in size, but the php4ts.dll that I just compiled with Visual C++ 6.0 is about 1.4 MB. It works perfectly anyway, but I was just wondering why is it

Re: [PHP-DEV] sapi/cli broken in HEAD?

2002-03-27 Thread Wez Furlong
Hi Derick, If you can run make test, then it's OK. --Wez. On 28/03/02, [EMAIL PROTECTED] wrote: Hello, is there something broken in the release branch too? Derick -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] sapi/cli broken in HEAD?

2002-03-27 Thread Wez Furlong
Hi Marcus, That patch does allow make test to run again; thanks. I don't want to sound angry, or like I own php-dev or php CVS or anything, but we should all be doing each other the favour of at least trying everything that we can to check that our submissions don't break too much. It's

Re: [PHP-DEV] sapi/cli broken in HEAD?

2002-03-27 Thread Marcus Börger
As far as i can see now cli in 4.2.0 is o.k. The patch is only needed for HEAD. There are points to discuss but at current time the developing group is a bit uncertain. For me both 4.2.0 and HEAD should set safe_mode to off by default. Currently i cannot check with 4.2.0 tried to update and

Re: [PHP-DEV] sapi/cli broken in HEAD?

2002-03-27 Thread derick
On Wed, 27 Mar 2002, Wez Furlong wrote: Hi Derick, If you can run make test, then it's OK. Make test runs the cgi in the release branch, so 'make test' wont show problems. Any other testing method? Derick -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit:

[PHP-DEV] ccache

2002-03-27 Thread Rasmus Lerdorf
Folks, we're all constantly recompiling PHP. I used to use compilercache to speed this up a bit, but now Tridge has rewritten compilercache in C and it really works well now. Grab it from: cvs -d :pserver:[EMAIL PROTECTED]:/cvsroot co ccache and read the README that comes with it. Having a

[PHP-DEV] Re: Session patch

2002-03-27 Thread Yasuo Ohgaki
Sascha Schumann wrote: Should php create the session id, or should the session handler? PHP should. Here is something to think about. A few examples the reason why creating session ID on save handlers. If PHP have full control of session ID generation, we cannot do - Invalidate

Re: [PHP-DEV] Re: Re: Session patch

2002-03-27 Thread mlwmohawk
Should php create the session id, or should the session handler? PHP should. Here is something to think about. It is hard to generate hard to guess session ids. PHP has various internal entropy sources and can read from system provided entropy sources as well. That

[PHP-DEV] Re: [PATCH] zend_complle.c

2002-03-27 Thread Yasuo Ohgaki
Wez noticed the patch cannot handle ?php class A { function foo() {} } class B extends A {} class C extends B { function foo() {} } ? since class entry's function(method) table does not store inherited functions. (it seems it's better to store method in class at compile time, rahter than

[PHP-DEV] Re: [PATCH] zend_complle.c

2002-03-27 Thread Yasuo Ohgaki
Minor fix to previous patch. I remeber Markus was suggesting class_name::method_name() in error message. This one does that. -- Yasuo Ohgaki /usr/bin/diff: conflicting specifications of output style --- zend_compile.c.~1.226.~ Tue Mar 26 17:48:18 2002 +++ zend_compile.c Thu Mar 28

[PHP-DEV] msession entering first beta.

2002-03-27 Thread mlwmohawk
The msession daemon (part of the Phoenix project) and extension is available for PHP versions 4.0.6, 4.1.2, and current CVS. For those of you unfamiliar with msession, it is sort of a cross between a database and the mm session save handler. It is a networked information server

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard file.c ftp_fopen_wrapper.c http_fopen_wrapper.c php_fopen_wrapper.c /ext/zlib zlib_fopen_wrapper.c /main memory_streams.c network.c php_streams.h streams.c user_streams.c

2002-03-27 Thread Marcus Börger
Should we have stat also for memory/temp streams? should be no problem but supporting access/modified time with it would slow down performance as querying time is timeconsumpting on most systems. marcus At 01:49 28.03.2002, you wrote: wez Wed Mar 27 19:49:00 2002 EDT Modified