Re: [PHP-DEV] xmlSetGenericErrorFunc Abuse

2004-04-23 Thread Andi Gutmans
At 02:23 PM 4/22/2004 -0400, Rob Richards wrote: 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 per

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] 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

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

Re: [PHP-DEV] xmlSetGenericErrorFunc Abuse

2004-04-21 Thread Paul Querna
On Wed, 2004-04-21 at 23:06, Sterling Hughes wrote: > 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. see the attached patch. it fixes this problem for my test case. Does not completely shutdown

Re: [PHP-DEV] xmlSetGenericErrorFunc Abuse

2004-04-21 Thread Sterling Hughes
On Apr 21, 2004, at 6:16 PM, Paul Querna wrote: On Wed, 2004-04-21 at 18:50, Sterling Hughes wrote: Its actually quite different than that problem. This is a problem for people who use threads. I am afraid that you are completely wrong. httpd -V: Server version: Apache/2.1.0-dev Server built:

Re: [PHP-DEV] xmlSetGenericErrorFunc Abuse

2004-04-21 Thread Paul Querna
On Wed, 2004-04-21 at 18:50, Sterling Hughes wrote: > Its actually quite different than that problem. This is a problem for > people who use threads. I am afraid that you are completely wrong. httpd -V: Server version: Apache/2.1.0-dev Server built: Feb 15 2004 14:26:54 Server's Module Magic

Re: [PHP-DEV] xmlSetGenericErrorFunc Abuse

2004-04-21 Thread Sterling Hughes
On Apr 21, 2004, at 2:36 PM, Paul Querna wrote: The libxml2 Extension in PHP5 uses xmlSetGenericErrorFunc(NULL, php_libxml_error_handler); This globally(inside the process) sets the libxml2 error hander to PHP's own function. Why is this bad? It clobbers the processing done by anything else t