|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #45492 All tests fail with --disable-xml
Submitted: 2008-07-12 14:34 UTC Modified: 2008-07-23 08:58 UTC
From: arnaud dot lb at gmail dot com Assigned:
Status: Closed Package: SOAP related
PHP Version: 5.2.6 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
22 + 25 = ?
Subscribe to this entry?

 [2008-07-12 14:34 UTC] arnaud dot lb at gmail dot com
When PHP compiled with --disable-xml, all SOAP tests are failing 
with the following error:

$ cat ext/soap/tests/schema/schema085.diff
001+ Fatal error: Call to undefined function xml_parser_create() 
in /tmp/php-5.2.6/ext/soap/tests/schema/ on line 64

Reproduce code:
./configure --disable-all --enable-soap --enable-cli --with-pcre-regex
make test

Expected result:
All SOAP tests using xml_* functions should be skipped when the xml 
parser extension is not loaded

Actual result:
SOAP tests are not skipped and fail


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2008-07-12 16:15 UTC]
Please try using this CVS snapshot:
For Windows (zip):

For Windows (installer):

I can't reproduce:

configure: error: SOAP extension requires LIBXML extension, add --enable-libxml
 [2008-07-12 17:37 UTC] arnaud dot lb at gmail dot com
Sorry, the reproduce procedure was incomplete.

This configure line makes the bug reproducible:

./configure --disable-all --enable-libxml --enable-soap --enable-cli --with-pcre-regex

Then, run:

TESTS=ext/soap/tests/schema/*.phpt make test

I just tested with php5.2-latest.tar.gz.
 [2008-07-23 08:58 UTC]
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jun 17 13:01:29 2024 UTC