[PHP-DEV] [PATCH] fix #27791

2004-04-22 Thread Joe Orton
It's necessary to pick up EXTRA_CFLAGS and friends when building against httpd-2.0 HEAD due to LFS support in APR. Index: sapi/apache2handler/config.m4 === RCS file: /repository/php-src/sapi/apache2handler/config.m4,v retrieving revis

Re: [PHP-DEV] xmlSetGenericErrorFunc Abuse

2004-04-22 Thread Rob Richards
From: Sterling Hughes > I think you are off base in removing them. We need them to hook into > PHP's error handling system. I think setting/resetting in RINIT > instead of MINIT is a good place to start and see if that fixes the > problem. I personally could care less about the threaded case (

Re: [PHP-DEV] PHP Extension Memory Problems

2004-04-22 Thread Bruce Bailey
Wez Thanks for the information. Unfortunately, when I try: // This part of the extension is in a function that may well be called // several thousand times from a PHP script. SEPARATE_ZVAL(&Arr); array_init(Arr); The second time through, the httpd process segfaults and dies. Apparently, I can't

Re: [PHP-DEV] xmlSetGenericErrorFunc Abuse

2004-04-22 Thread Sterling Hughes
On Apr 22, 2004, at 5:09 AM, Rob Richards wrote: From: Sterling Hughes Err, read back in the message. Specifically about "should reset the generic error handler." If it doesn't reset it, that's a separate issue. It has *nothing* todo with the mysql issue (which was symbol conflicts due to two

[PHP-DEV] Request: Get cURL 7.11.1 (current) included in PHP5 Win32 Builds?

2004-04-22 Thread Jason Donald
Hello, Thank you in advance for any help you can provide. I have a prod linux server running PHP5CVS with the latest cURL 7.11.1 compiled in. It has several new features I require. The Win32 PHP5CVS includes an older version of the Curl extension. Is there any way to get it upgraded to the c

Re: [PHP-DEV] [PATCH] fix pcre global variable abuse

2004-04-22 Thread Joe Orton
On Thu, Apr 22, 2004 at 11:02:18AM +0100, Joe Orton wrote: > This fixes #121454: the pcre extension should not change the global > allocation callbacks for pcre. Oops, wrong bug and even wrong bug database. I meant #27810. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe,

Re: [PHP-DEV] xmlSetGenericErrorFunc Abuse

2004-04-22 Thread Rob Richards
From: Sterling Hughes > Err, read back in the message. Specifically about "should reset the > generic error handler." If it doesn't reset it, that's a separate > issue. It has *nothing* todo with the mysql issue (which was symbol > conflicts due to two libraries being compiled into the same se

[PHP-DEV] [PATCH] fix pcre global variable abuse

2004-04-22 Thread Joe Orton
This fixes #121454: the pcre extension should not change the global allocation callbacks for pcre. PCRE is used inside httpd and may be used by modules other than PHP too; having these modules use PHP allocation functions doesn't seem at all sensible, and could mess up the memory limit accounting

Re: [PHP-DEV] umask weirdness

2004-04-22 Thread Joe Orton
Patch is below; the apache2filter SAPI needs the same fix. This "feature" of resetting the umask across requests is pretty dubious if used with a threaded MPM, however, since the umask is a process attribute not a thread attribute. --- php-4.3.6/sapi/apache2handler/sapi_apache2.c.umask +++ php-4.3

Re: [PHP-DEV] Multi-Method Dispatch in PHP 5.1?

2004-04-22 Thread Marcus Boerger
Hello Jason, no. Object can be a classname, Class not. The reason gettype returns "object" is becuase an instance of a class is an object. In typehinting we deal with the class-types and for things like reflection we need a typehint that accepts any class but nothing else. marcus Thursday, April