Hi, I don't really know that windows stuff but did you try building PHP using Edins zip.zip file or your own libxml2? Maybe the libs have some compatibility issues.
And about the other question: All XML extensions in PHP 5 are based on libxml2. If you disable building libxml2 support you can't have any of these compiled in. johannes On Thu, 2007-06-14 at 12:32 +0200, Marco wrote: > Hi All > > We are having a problem compiling PHP 5.2.3 under win32. > > Building PHP on Win32 using VS2005 following the instructions at > http://hu2.php.net/manual/en/install.windows.building.php the build fails > unless libxml support is disabled. > > If it is configured as > > cscript /nologo configure.js --enable-embed --enable-debug --without-libxml > > then the build is ok. But in this case calls to xml_parser_create() results > fatal error in the PHP scripts BTW should disabling libxml also disables > simplexml?. > > When it is built with libxml support as > > cscript /nologo configure.js --enable-embed --enable-debug > > then the compiler fails with errors like > > w:\1\php-5.2.3\ext\dom\xml_common.h(27) : error C2143: syntax error : > missing '{' before '*' > w:\1\php-5.2.3\ext\dom\xml_common.h(32) : error C2061: syntax error : > identifier 'php_libxml_ref_obj' > w:\1\php-5.2.3\ext\dom\xml_common.h(35) : error C2059: syntax error : '}' > w:\1\php-5.2.3\ext\dom\xml_common.h(51) : error C2143: syntax error : > missing '{' before '*' > w:\1\php-5.2.3\ext\dom\xml_common.h(52) : error C2143: syntax error : > missing ')' before '*' > w:\1\php-5.2.3\ext\dom\xml_common.h(52) : error C2081: 'dom_object' : name > in formal parameter list illegal > w:\1\php-5.2.3\ext\dom\xml_common.h(52) : error C2143: syntax error : > missing '{' before '*' > w:\1\php-5.2.3\ext\dom\xml_common.h(52) : error C2059: syntax error : 'type' > w:\1\php-5.2.3\ext\dom\xml_common.h(52) : error C2059: syntax error : ')' > w:\1\php-5.2.3\ext\dom\xml_common.h(53) : error C2143: syntax error : > missing ')' before '*' > w:\1\php-5.2.3\ext\dom\xml_common.h(53) : error C2143: syntax error : > missing '{' before '*' > w:\1\php-5.2.3\ext\dom\xml_common.h(53) : error C2059: syntax error : ')' > w:\1\php-5.2.3\ext\dom\php_dom.h(71) : error C2061: syntax error : > identifier 'dom_object' > w:\1\php-5.2.3\ext\dom\php_dom.h(77) : error C2059: syntax error : '}' > w:\1\php-5.2.3\ext\dom\php_dom.h(86) : error C2143: syntax error : missing > '{' before '*' > w:\1\php-5.2.3\ext\dom\php_dom.h(87) : error C2061: syntax error : > identifier 'dom_get_doc_props' > w:\1\php-5.2.3\ext\dom\php_dom.h(87) : error C2059: syntax error : ';' > w:\1\php-5.2.3\ext\dom\php_dom.h(87) : error C2143: syntax error : missing > ')' before '*' > w:\1\php-5.2.3\ext\dom\php_dom.h(87) : error C2143: syntax error : missing > '{' before '*' > w:\1\php-5.2.3\ext\dom\php_dom.h(87) : error C2059: syntax error : ')' > w:\1\php-5.2.3\ext\dom\php_dom.h(93) : error C2143: syntax error : missing > ')' before '*' > w:\1\php-5.2.3\ext\dom\php_dom.h(93) : error C2143: syntax error : missing > '{' before '*' > w:\1\php-5.2.3\ext\dom\php_dom.h(93) : error C2059: syntax error : ')' > > Libxml is built and the headers and the libs are placed to the win32build > folder, we are currently trying to build against libxml 2.6.2.26 > > Can anyone point us in the right direction to get this resolved? > > Thanks in advance > > Marco -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php