Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:25421 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 92340 invoked by uid 1010); 25 Aug 2006 02:48:45 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 92325 invoked from network); 25 Aug 2006 02:48:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Aug 2006 02:48:45 -0000 Authentication-Results: pb1.pair.com smtp.mail=andi@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=andi@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 80.74.107.235 as permitted sender) X-PHP-List-Original-Sender: andi@zend.com X-Host-Fingerprint: 80.74.107.235 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from [80.74.107.235] ([80.74.107.235:46427] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.1.1.8 r(12602M)) with ESMTP id CD/61-11079-A056EE44 for ; Thu, 24 Aug 2006 22:48:45 -0400 Received: (qmail 4735 invoked from network); 25 Aug 2006 02:47:28 -0000 Received: from localhost (HELO ANDILENOVO) (127.0.0.1) by localhost with SMTP; 25 Aug 2006 02:47:28 -0000 To: "'Rob Richards'" , "'Edin Kadribasic'" , Date: Thu, 24 Aug 2006 19:48:24 -0700 Message-ID: <014201c6c7f0$f11ff640$a610a8c0@zend.2k> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <44DB9EEA.7030309@ctindustries.net> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 Thread-Index: Aca8v/atIXn9pPaNQWevhzVwZ85fhgLMMCRA Subject: RE: [PHP-DEV] libxml2/threading/win 2003 From: andi@zend.com ("Andi Gutmans") References: <44DB9EEA.7030309@ctindustries.net> Rob, Is there a reason why we can't call this from MINIT? I'm not sure a good long-term solution is to have a DllMain when we don't need one. Andi > -----Original Message----- > From: Rob Richards [mailto:rrichards@ctindustries.net] > Sent: Thursday, August 10, 2006 2:03 PM > To: Edin Kadribasic; internals@lists.php.net > Subject: [PHP-DEV] libxml2/threading/win 2003 > > In order to resolve reported crashing on win 2003, I have had > to change the static libxml builds to use the flag > LIBXML_STATIC_FOR_DLL. > > This now requires a DllMain to be added within any dll that > is building > libxml2 in statically. > PHP 4.x - domxml (use php_domxml.c.diff.txt patch) PHP > 5.x/HEAD added within libxml.c (apply libxml.c.diff.txt to > PHP 5 and HEAD - was made against HEAD) > > This changes the threading a bit to work in the same manner as if > libxml2 were built and linked to as a shared lib. > > Along with these changes new libxml libraries are needed. > debug builds: > http://ctindustries.net/libxml/libxml2-2.6.26.threads.zip > http://ctindustries.net/libxml/libxslt-1.1.17.debug.php.zip > > release builds: > http://ctindustries.net/libxml/libxml2-2.6.26.threads.zip > http://ctindustries.net/libxml/libxslt-1.1.17.php.zip > > So far I have been testing these against 5.2 builds and ran a > few tests with domxml in PHP 4.4 to make sure all was good. I > would appreciate it if anyone running win builds make these > changes to their local builds and let me know if anyone runs > into any problems (there really shouldnt be any, but in any > case..). Would like some additional outside testing before > committing this stuff. > > Rob > > > > >