RE: [PHP-DEV] libxml2/threading/win 2003

From: Date: Fri, 25 Aug 2006 02:48:24 +0000
Subject: RE: [PHP-DEV] libxml2/threading/win 2003
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-25421@lists.php.net to get a copy of this message
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 > > > > >

« previous php.internals (#25421) next »