[DOC-CVS] [doc-en] master: Remove bundled expat default support and rename --with-expat-dir to --with-expat (#4678)

[email protected] (ShotaroMuraoka via GitHub)
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: ShotaroMuraoka (ShotaroMuraoka)
Committer: GitHub (web-flow)
Pusher: lacatoire
Date: 2026-08-20T11:28:58+02:00

Commit: https://github.com/php/doc-en/commit/c1b9c92d863bd1b4f82b13b4d13b8ab27caa66f0
Raw diff: https://github.com/php/doc-en/commit/c1b9c92d863bd1b4f82b13b4d13b8ab27caa66f0.diff

Remove bundled expat default support and rename --with-expat-dir to --with-expat (#4678)

* Rename --with-libexpat-dir to --with-expat and drop directory argument support

Changed paths:
  M  reference/xml/configure.xml


Diff:

diff --git a/reference/xml/configure.xml b/reference/xml/configure.xml
index b28803e0bbba..f862c89b3b7d 100644
--- a/reference/xml/configure.xml
+++ b/reference/xml/configure.xml
@@ -6,18 +6,32 @@
   &installation.enabled.disable;
   <option role="configure">--disable-xml</option>
  </para>
- <!-- TODO the following needs researched and updated -->
- <para>
-  These functions are enabled by default, using the bundled expat library.
-  You can disable XML support with
-  <option role="configure">--disable-xml</option>.
-  If you compile PHP as a module for Apache 1.3.9 or later, PHP will
-  automatically use the bundled <productname>expat</productname> library from
-  Apache. If you don't want to use the bundled expat library, configure
-  PHP with <option role="configure">--with-expat-dir=DIR</option>, where DIR should
-  point to the base installation directory of expat.
- </para>
  &windows.builtin;
+ <simplesect role="changelog">
+ &reftitle.changelog;
+  <para>
+   <informaltable>
+    <tgroup cols="2">
+     <thead>
+      <row>
+       <entry>&Version;</entry>
+       <entry>&Description;</entry>
+      </row>
+     </thead>
+     <tbody>
+      <row>
+       <entry>7.4.0</entry>
+       <entry>
+        The <option role="configure">--with-libexpat-dir</option> has been renamed to
+        <option role="configure">--with-expat</option> and no longer accepts a directory argument.
+        The bundled expat library has been removed.
+       </entry>
+      </row>
+     </tbody>
+    </tgroup>
+   </informaltable>
+  </para>
+ </simplesect>
 </section>
 
 <!-- Keep this comment at the end of the file
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.