|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: arnaud dot lb at gmail dot com
New email:
PHP Version: OS:


 [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 14:01:31 2024 UTC