Re: [PHP-DEV] mod_fast_apache, FastCGI, and mysqli

2007-02-07 Thread steve
Thanks! That is a blast from the past! I never got it working properly, and since using PHP in FastCGI mode has eliminated the problem by 80%+, hopefully I won't have to revisit it. But thanks again! I never know! -s On 2/7/07, Reinis Rozitis <[EMAIL PROTECTED]> wrote: > Christopher Jones wrote

Re: [PHP-DEV] mod_fast_apache, FastCGI, and mysqli

2007-02-07 Thread steve
On 2/6/07, Rasmus Lerdorf <[EMAIL PROTECTED]> wrote: A couple of points. mysqli doesn't have persistent connections because the authors of that particular extension don't think it is a good idea. It's not a PHP-wide thing, PDO and others do have it. Yes, point taken. I just figured they were

Re: [PHP-DEV] mod_fast_apache, FastCGI, and mysqli

2007-02-07 Thread Reinis Rozitis
Christopher Jones wrote: I guess MySQL folks are also looking into Java like connection pooling: http://krow.livejournal.com/487174.html Besides there are some third-party solutions like SQLRelay http://sqlrelay.sourceforge.net/ rr -- PHP Internals - PHP Runtime Development Mailing List To

Re: [PHP-DEV] mod_fast_apache, FastCGI, and mysqli

2007-02-07 Thread steve
Having cross-process persistent connection pool for PDO would be great. Having a better system on the DB side would be great too (as it looks to be for Oracle). The MySQL server test looks promising. I like the Apache 2.2 model of using epoll to have one thread handle all the keep-alive connectio

Re: [PHP-DEV] segfault when running strpos (was header)!

2007-02-07 Thread Chris Malton
Antony Dovgal wrote: > On 02/07/2007 11:16 PM, Chris Malton wrote: >> Please see below for a term session: >> >> [EMAIL PROTECTED]:~/php6# cat /srv/www/include/firefox.inc >> > //if($_GET["ffcheck"]==""){ >> //$ua=$_SERVER['HTTP_USER_AGENT']; >> if(strpos($ua,"MSIE")!==false){ >> //USER AGENT = M

Re: [PHP-DEV] segfault when running header?

2007-02-07 Thread Stanislav Malyshev
Chris Malton wrote: The header() function currently causes a segfault with CVS head sources. Here's a backtrace. #0 _zend_mm_free_int (heap=0xb302f0, p=0xb88b11b) at /root/php6/Zend/zend_alloc.c:1522 #1 0x006a5d4f in destroy_op_array (op_array=0x2ae269e4d410) at /root/php6/Zen

Re: [PHP-DEV] segfault when running strpos (was header)!

2007-02-07 Thread Antony Dovgal
On 02/07/2007 11:16 PM, Chris Malton wrote: Please see below for a term session: [EMAIL PROTECTED]:~/php6# cat /srv/www/include/firefox.inc http://shared.cjsoftuk.dyndns.org/Firefox.php?URL="; . urlencode("http://"; . $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"] . "?" . $_SERVER["QUERY_STRING

Re: [PHP-DEV] segfault when running strpos (was header)!

2007-02-07 Thread Chris Malton
Antony Dovgal wrote: > On 02/07/2007 10:41 PM, Chris wrote: Need any more info? Give me a buzz. >>> >>> A reproduce case? >>> >> >> WHOOPS - Turns out it isn't header that breaks it! >> >> The following code breaks php6 at the cmd line. >> >> > if($_GET["ffcheck"]==""){ >> $ua=$_SERVER['HTTP_U

Re: [PHP-DEV] segfault when running strpos (was header)!

2007-02-07 Thread Antony Dovgal
On 02/07/2007 10:41 PM, Chris wrote: Need any more info? Give me a buzz. A reproduce case? WHOOPS - Turns out it isn't header that breaks it! The following code breaks php6 at the cmd line. http://shared.cjsoftuk.dyndns.org/Firefox.php?URL="; . urlencode("http://"; . $_SERVER["HTTP_HOST"]

Re: [PHP-DEV] segfault when running header?

2007-02-07 Thread Chris Malton
Antony Dovgal wrote: > > On 02/07/2007 10:18 PM, Chris Malton wrote: >> >> The header() function currently causes a segfault with CVS head sources. >> >> >> >> I'll leave this up to a dev team person to sort. I am merely testing >> >> out php6 before a migration. > > > > Migration to PHP6? > > W

Re: [PHP-DEV] segfault when running header?

2007-02-07 Thread Antony Dovgal
On 02/07/2007 10:18 PM, Chris Malton wrote: The header() function currently causes a segfault with CVS head sources. I'll leave this up to a dev team person to sort. I am merely testing out php6 before a migration. Migration to PHP6? Need any more info? Give me a buzz. A reproduce case?

Re: [PHP-DEV] FastCGI limit memory

2007-02-07 Thread Reinis Rozitis
Andi Gutmans wrote: Yeah but process limits are inherited after fork(). Well probably. But does there exists a configurable limit in php for that (which was implemented by previos mentioned patch in 4.x branch)? As if the child exceeds the limit it handles the last request and shuts down to

Re: [PHP-DEV] C++ in non-threaded PHP

2007-02-07 Thread Antony Dovgal
On 02/07/2007 09:53 PM, Caroline Maynard wrote: Also, how to reproduce it? I compile C++ extensions quite often and do not see any problems. Well you need to have an extension which references CG() or EG() from C++ and build it with --disable-zts. So, compiling the sdo extension, which refers

[PHP-DEV] segfault when running header?

2007-02-07 Thread Chris Malton
The header() function currently causes a segfault with CVS head sources. Here's a backtrace. #0 _zend_mm_free_int (heap=0xb302f0, p=0xb88b11b) at /root/php6/Zend/zend_alloc.c:1522 #1 0x006a5d4f in destroy_op_array (op_array=0x2ae269e4d410) at /root/php6/Zend/zend_opcode.c:265 #2

Re: [PHP-DEV] C++ in non-threaded PHP

2007-02-07 Thread Caroline Maynard
Antony Dovgal wrote: On 01/23/2007 06:07 PM, Caroline Maynard wrote: I hit some problems compiling a C++ extension in a non-threaded environment, because of some missing extern "C" declarations. Looks like this was previously fixed for threaded mode only. Please would someone with karma apply

[PHP-DEV] CVS Account Request: onur

2007-02-07 Thread Onur Yerlikaya
- Maintaining and Translating the documentation to Turkish Language. - Maintaining an official, bundled PHP extension - Developing the PHP runtime -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] [PATCH] version 2, __HALT_COMPILER();

2007-02-07 Thread Gregory Beaver
Hi, The last patch version still allowed: which would break any __HALT_COMPILER(); Interestingly enough, the current implementation makes this script a fatal error: But not at the first define, instead it does at the __HALT_COMPILER();. Once again a bug, as it should instead give a notice

Re: [PHP-DEV] Known Issues with PHP6 on Windows?

2007-02-07 Thread Jeremy Privett
Antony Dovgal wrote: On 02/07/2007 08:08 AM, Jeremy Privett wrote: Hey everyone, I was just curious if there were any known issues with the PHP6 builds on Windows. I've been trying to set a build up in my local environment and Apache keeps throwing this error at me: Syntax error on line 173

Re: [PHP-DEV] Probably old news, but new news if you didn't know about it.

2007-02-07 Thread Chad Daelhousen
And posting this helps improve PHP... how? -- Chad Daelhousen "Television shepherds with living room sheep/ And I pray" --Temple of the Dog, "Wooden Jesus" -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Probably old news, but new news if you didn't know about it.

2007-02-07 Thread Richard Quadling
http://www.theregister.co.uk/2007/02/07/stefan_esser_interview/ -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!" -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, vi

[PHP-DEV] Fw: [PHP-DOC] problems in php-config.1, phpize.1

2007-02-07 Thread Nuno Lopes
- Original Message - From: <[EMAIL PROTECTED]> To: Sent: Tuesday, February 06, 2007 9:11 PM Subject: [PHP-DOC] problems in php-config.1, phpize.1 This is automatically generated email about problems in a man page for which you appear to be responsible. If you are not the right pers

Re: [PHP-DEV] C++ in non-threaded PHP

2007-02-07 Thread Antony Dovgal
On 01/23/2007 06:07 PM, Caroline Maynard wrote: I hit some problems compiling a C++ extension in a non-threaded environment, because of some missing extern "C" declarations. Looks like this was previously fixed for threaded mode only. Please would someone with karma apply the following patch?

RE: [PHP-DEV] Syntactic improvement to array

2007-02-07 Thread Ford, Mike
> -Original Message- > From: Richard Lynch [mailto:[EMAIL PROTECTED] > Sent: 07 February 2007 02:34 > > I was specifically thinking of the sheer number of emails to > PHP-General that would result. > > Even if 90% of the newbies "get it" without any research, and > 5% more figure it ou

RE: [PHP-DEV] [SPAM] Re: [PHP-DEV] Syntactic improvement to array

2007-02-07 Thread Ford, Mike
> -Original Message- > From: Robert Cummings [mailto:[EMAIL PROTECTED] > Sent: 06 February 2007 16:09 > > I know how much you want to feel special, but here's the > definition of "read". Your description of how you interpret > what you see falls into this definition: Oh, no fair! You'v

Re: [PHP-DEV] RE : [PHP-DEV] [PATCH] better implementation for __HALT_COMPILER();

2007-02-07 Thread Antony Dovgal
On 02/07/2007 01:14 PM, LAUPRETRE François (P) wrote: From: Gregory Beaver [mailto:[EMAIL PROTECTED] Currently, this code results in a fatal error Are you sure it is a fatal error ? I only get an E_NOTICE in 5.1.6. Did it change in 5.2? Please tell me if it is the case, because I would have

[PHP-DEV] RE : [PHP-DEV] [PATCH] better implementation for __HALT_COMPILER();

2007-02-07 Thread P
> From: Gregory Beaver [mailto:[EMAIL PROTECTED] > Currently, this code results in a fatal error Are you sure it is a fatal error ? I only get an E_NOTICE in 5.1.6. Did it change in 5.2? Please tell me if it is the case, because I would have to update my documentation. > However, this is extr

Re: [PHP-DEV] Known Issues with PHP6 on Windows?

2007-02-07 Thread Antony Dovgal
On 02/07/2007 08:08 AM, Jeremy Privett wrote: Hey everyone, I was just curious if there were any known issues with the PHP6 builds on Windows. I've been trying to set a build up in my local environment and Apache keeps throwing this error at me: Syntax error on line 173 of C:/Apache2/conf/ht