[PECL-CVS] [pecl-search_engine-solr] master: Remove dependency on libxml extension

[email protected] (Birgir Haraldsson)
Newsgroups php.pecl.cvs
Message-ID <[email protected]>
Author: Birgir Haraldsson (bix0r)
Date: 2025-10-12T14:43:51+02:00

Commit: https://github.com/php/pecl-search_engine-solr/commit/df1e0b65a6e08b989bc1df0e7a3332e6041ec2c4
Raw diff: https://github.com/php/pecl-search_engine-solr/commit/df1e0b65a6e08b989bc1df0e7a3332e6041ec2c4.diff

Remove dependency on libxml extension

Fixes #72

Because we don't rely on the libxml extension, we can safely remove
its dependency.
We still rely on the libxml library for all xml related things.

Changed paths:
  M  package.xml
  M  src/php_solr.c


Diff:

diff --git a/package.xml b/package.xml
index 2f2b1c3c..2ad76dbb 100644
--- a/package.xml
+++ b/package.xml
@@ -425,9 +425,6 @@ Fixes:
       <pearinstaller>
         <min>1.4.0</min>
       </pearinstaller>
-      <extension>
-        <name>libxml</name>
-      </extension>
     </required>
   </dependencies>
 
diff --git a/src/php_solr.c b/src/php_solr.c
index 5cf1deb7..6c5c9c9f 100644
--- a/src/php_solr.c
+++ b/src/php_solr.c
@@ -1136,7 +1136,6 @@ static zend_function_entry solr_utils_methods[] = {
 
 /* {{{ solr_module_deps  */
 static zend_module_dep solr_module_deps[] = {
-    ZEND_MOD_REQUIRED(PHP_LIBXML_EXTENSION_NAME)
     ZEND_MOD_REQUIRED(PHP_JSON_EXTENSION_NAME)
     ZEND_MOD_END
 };
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.