Skip to content

Commit a10c438

Browse files
committed
Update PHP changelogs and configuration options
1 parent 7808a82 commit a10c438

File tree

2 files changed

+222
-5
lines changed

2 files changed

+222
-5
lines changed

docs/configuration.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3336,6 +3336,51 @@ A list of Autoconf `configure` command-line configuration options, Windows
33363336
<td>N/A</td>
33373337
<td></td>
33383338
</tr>
3339+
<tr>
3340+
<th colspan="4">Libtool options</th>
3341+
</tr>
3342+
<tr>
3343+
<td>--enable-shared=PKGS</td>
3344+
<td>N/A</td>
3345+
<td></td>
3346+
<td></td>
3347+
</tr>
3348+
<tr>
3349+
<td>--enable-static=PKGS</td>
3350+
<td>N/A</td>
3351+
<td></td>
3352+
<td></td>
3353+
</tr>
3354+
<tr>
3355+
<td>--enable-fast-install=PKGS</td>
3356+
<td>N/A</td>
3357+
<td></td>
3358+
<td></td>
3359+
</tr>
3360+
<tr>
3361+
<td>--with-gnu-ld</td>
3362+
<td>N/A</td>
3363+
<td></td>
3364+
<td></td>
3365+
</tr>
3366+
<tr>
3367+
<td>--disable-libtool-lock</td>
3368+
<td>N/A</td>
3369+
<td></td>
3370+
<td></td>
3371+
</tr>
3372+
<tr>
3373+
<td>--with-pic</td>
3374+
<td>N/A</td>
3375+
<td></td>
3376+
<td></td>
3377+
</tr>
3378+
<tr>
3379+
<td>--with-tags=TAGS</td>
3380+
<td></td>
3381+
<td></td>
3382+
<td></td>
3383+
</tr>
33393384
<tr>
33403385
<th colspan="4">Influential variables</th>
33413386
</tr>

docs/evolution.md

Lines changed: 177 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,23 +101,163 @@ Windows systems was developed and added to PHP 5.0 released in 2004.
101101
Freedesktop's `pkg-config` tool was optionally used in PHP Autotools-based \*nix
102102
build system to find the OpenSSL dependency on the system.
103103

104+
<details>
105+
<summary>Changelog</summary>
106+
107+
### PHP 5.0 build system changes
108+
109+
#### Autotools
110+
111+
* Many new configure options.
112+
* The `--with-servlet[=DIR]`, `--with-hyperwave` configure options were removed.
113+
114+
</details>
115+
116+
## PHP 4.4 (2005)
117+
118+
Additional release of PHP 4.4 was done in addition to PHP 5 branch that added
119+
man pages for `phpize` and `php-config` scripts.
120+
121+
## PHP 5.1 (2005)
122+
123+
Bundled libtool was updated to 1.5.20.
124+
125+
<details>
126+
<summary>Changelog</summary>
127+
128+
### PHP 5.1 build system changes
129+
130+
#### Autotools
131+
132+
* Added new `-with-zend-vm=TYPE`, `--disable-reflection`, `--with-libdir=NAME`,
133+
`--enable-gcov`, `--with-ODBCRouter[=DIR]`, `--with-db1`, `--disable-hash`,
134+
`--disable-pdo`, `--with-pdo-dblib[=DIR]`, `--with-pdo-firebird[=DIR]`,
135+
`--with-pdo-mysql[=DIR]`, `--with-pdo-oci[=DIR]`, `--with-pdo-odbc`,
136+
`--with-pdo-pgsql[=DIR]`, `--with-pdo-sqlite`, `--disable-xmlreader`,
137+
`--with-libxml-dir=DIR`, `--disable-xmlwriter`, `--with-libexpat-dir=DIR` configure options.
138+
* The `--enable-yp`, `--with-oci8-instant-client`, `--with-oracle[=DIR]`,
139+
`--with-ovrimos[=DIR]`, `--with-pfpro[=DIR]`, `--with-ingres[=DIR]`,
140+
`--with-mcve[=DIR]`, `--with-mnogosearch[=DIR]`, `--with-msession[=DIR]`,
141+
`--with-expat-dir=DIR`, `--with-tiff-dir[=DIR]`, `--with-cpdflib[=DIR]`,
142+
`--enable-dbx`, `--enable-dio`, `--with-fam` configure options were removed.
143+
* The bundled libtool gained the `--with-tags[=TAGS]` configure option.
144+
145+
</details>
146+
147+
## PHP 5.2 (2006)
148+
149+
<details>
150+
<summary>Changelog</summary>
151+
152+
### PHP 5.2 build system changes
153+
154+
#### Autotools
155+
156+
* Added new `--with-zlib-dir[=DIR]`, `--disable-phar`, `--disable-fileinfo`,
157+
`--disable-filter`, `--with-pcre-dir`, `--enable-intl`, `--with-icu-dir=DIR`,
158+
`--disable-json`, `--disable-mbregex-backtrack`, `--with-onig[=DIR]`,
159+
`--without-sqlite3[=DIR]`, `--with-enchant[=DIR]`, `--enable-re2c-cgoto`,
160+
`--with-litespeed`, `--enable-fpm`, `--with-fpm-user[=USER]`,
161+
`--with-fpm-group[=GRP]`, `--with-libexpat-dir=DIR`, `--enable-zip`,
162+
`--enable-mysqlnd`, `--disable-mysqlnd-compression-support`
163+
configure options.
164+
* The `--with-ncurses[=DIR]`, `--enable-memory-limit`,
165+
`--disable-zend-memory-manager`, `--disable-reflection`, `--disable-spl`,
166+
`--with-hwapi[=DIR]`, `--with-ttf[=DIR]`, `--with-informix[=DIR]`,
167+
`--enable-filepro`, `--with-fdftk[=DIR]`, `--with-fbsql[=DIR]`,
168+
`--enable-versioning`, `--with-sybase[=DIR]`, `--with-mime-magic[=FILE]`,
169+
`--with-ming`, `--with-msql[=DIR]`, `--enable-fastcgi`,
170+
`--enable-force-cgi-redirect`, `--enable-discard-path`,
171+
`--disable-path-info-check`
172+
configure options were removed.
173+
* The `--with-mod_charset` configure option was renamed to
174+
`--enable-mod-charset`.
175+
* The `--with-inifile` configure option was renamed to `--enable-inifile`.
176+
* The `--with-flatfile` configure option was renamed to `--enable-flatfile`.
177+
178+
</details>
179+
104180
## 2008
105181
106182
Idea to rewrite PHP build system in CMake first appeared during the Google
107183
Summer of Code in 2008 ([wiki](https://wiki.php.net/internals/cmake),
108184
[php-cmake](https://github.com/gloob/php-cmake)).
109185
186+
## PHP 5.3 (2009)
187+
188+
Bundled libtool was updated to 1.5.26.
189+
110190
## PHP 5.4 (2012)
111191
112192
Autoconf minimum required version was increased to `2.59`.
113193
114-
## PHP 7.0 (2013)
194+
<details>
195+
<summary>Changelog</summary>
196+
197+
### PHP 5.4 build system changes
198+
199+
#### Autotools
200+
201+
* Added new `--enable-zend-signals`, `--with-vpx-dir=DIR`, `--with-tcadb=DIR`,
202+
`--enable-dtrace`, `--with-fpm-systemd` configure options.
203+
* The `--enable-zend-multibyte`, `--enable-sqlite-utf8`, `--without-sqlite`,
204+
`--enable-ucd-snmp-hack`, `--enable-magic-quotes`, `--with-exec-dir[=DIR]`,
205+
`--enable-safe-mode` configure options were removed.
206+
207+
</details>
208+
209+
## PHP 5.5 (2013)
210+
211+
<details>
212+
<summary>Changelog</summary>
213+
214+
### PHP 5.5 build system changes
215+
216+
#### Autotools
217+
218+
* Added new `--enable-opcache` configure option.
219+
* The `--with-curlwrappers` configure option was removed.
220+
221+
</details>
222+
223+
## PHP 5.6 (2014)
224+
225+
<details>
226+
<summary>Changelog</summary>
227+
228+
### PHP 5.6 build system changes
229+
230+
#### Autotools
231+
232+
* Added new `--enable-phpdbg`, `--enable-phpdbg-debug`, `--with-libzip=DIR`
233+
configure options.
234+
235+
</details>
236+
237+
## PHP 7.0 (2015)
115238
116239
<details>
117240
<summary>Changelog</summary>
118241
119242
### PHP 7.0 build system changes
120243
244+
#### Autotools
245+
246+
* Added new `--disable-gcc-global-regs`, `--with-fpm-acl`,
247+
`--with-system-ciphers`, `--with-pcre-jit`, `--with-webp-dir=DIR`,
248+
`--with-odbcver=HEX`, `--disable-opcache-file`,
249+
`--disable-huge-code-pages` configure option.
250+
* The `--with-aolserver=DIR`, `--with-apxs=FILE`, `--with-apache=DIR`,
251+
`--enable-mod-charset`, `--with-apxs2filter`, `--with-apache-hooks=FILE`,
252+
`--with-apache-hooks-static=DIR`, `--with-caudium=DIR`,
253+
`--with-continuity=DIR`, `--with-isapi=DIR`, `--with-milter=DIR`,
254+
`--with-nsapi=DIR`, `--with-phttpd=DIR`, `--with-pi3web=DIR`,
255+
`--with-roxen=DIR`, `--enable-roxen-zts`, `--with-thttpd=SRCDIR`,
256+
`--with-tux=MODULEDIR`, `--with-webjames=SRCDIR`, `--with-regex=TYPE`,
257+
`--with-vpx-dir=DIR`, `--with-t1lib=DIR`, `--with-mssql=DIR`,
258+
`--with-mysql=DIR`, `--with-sybase-ct=DIR`, `--with-zend-vm=TYPE` configure
259+
options were removed.
260+
121261
#### Windows
122262
123263
* Besides Visual Studio, building with Clang or Intel Composer is now possible.
@@ -134,7 +274,7 @@ Autoconf minimum required version was increased to `2.59`.
134274
135275
</details>
136276
137-
## PHP 7.1 (2014)
277+
## PHP 7.1 (2016)
138278
139279
<details>
140280
<summary>Changelog</summary>
@@ -148,7 +288,7 @@ Autoconf minimum required version was increased to `2.59`.
148288
149289
</details>
150290
151-
## PHP 7.2 (2015)
291+
## PHP 7.2 (2017)
152292
153293
The `configure.in` was renamed to `configure.ac` according to Autoconf
154294
evolution. Autoconf minimum required version was increased to `2.64`.
@@ -230,14 +370,44 @@ including the removal of `aclocal.m4` in favor of the php related M4 macros in
230370
231371
##### Configure options
232372
373+
* Many system dependencies are now discovered with pkg-config and some configure
374+
options don't accept directory argument anymore.
233375
* The filter extension no longer exposes the `--with-pcre-dir` configure
234376
argument and therefore allows shared builds with `./configure`.
235377
* Added new `--enable-rtld-now` configure option to switch the dlopen behavior
236378
from `RTLD_LAZY` to `RTLD_NOW`.
379+
* Added new configure option `--enable-werror` to turn compiler warnings into
380+
errors.
381+
* Added new `--with-external-gd` configure option.
382+
* Added new `--with-expat` configure option.
237383
* The `--with-pcre-valgrind` and `--with-valgrind` were merged, and Valgrind
238384
detected by pkg-config.
239-
* The `--enable-opcache-file` configure option has been removed.
385+
* The `--enable/disable-opcache-file` configure option has been removed.
240386
* The `--with-pear` option has been deprecated.
387+
* The `--with-litespeed` configure option was renamed to `--enable-litespeed`.
388+
* The `--enable/disable-libxml` configure option was renamed to
389+
`--with/without-libxml`.
390+
* The `--with-libxml-dir` configure option was removed.
391+
* The `--with-pcre-regex` configure option was removed.
392+
* Added `--with-ffi` configure option.
393+
* The `--with/without-gd` configure option was renamed to `--enable/disable-gd`.
394+
* The `--with-webp-dir` configure option was renamed to `--with-webp`.
395+
* The ` --with-jpeg-dir` configure option was renamed to `--with-jpeg`.
396+
* The `--with-png-dir` configure option was removed.
397+
* The `--with-xpm-dir` configure option was renamed to `--with-xpm`.
398+
* The `--with-freetype-dir` configure option was renamed to `--with-freetype`.
399+
* The `--with-interbase` configure option was removed.
400+
* The `--with-icu-dir` configure option was removed.
401+
* The `--disable-mbregex-backtrack` configure option was removed.
402+
* The `--with-onig` configure option was removed (bundled Oniguruma library has
403+
been removed in favor of the system Oniguruma library).
404+
* The `--enable-embedded-mysqli` configure option was removed.
405+
* The `--enable-wddx` configure option was removed.
406+
* The `--with-libexpat-dir` configure option was removed.
407+
* The `--enable/disable-zip` configure option was renamed to
408+
`--with/without-zip`.
409+
* The `--with-libzip` configure option was removed.
410+
* The `--with-recode` configure option was removed.
241411
242412
##### Autoconf local macros
243413
@@ -319,6 +489,8 @@ PHP coding standards now use the C99 standard.
319489
320490
### PHP 8.1 build system changes
321491
492+
* Minimum OpenSSL version 1.0.2
493+
322494
#### Autotools configure options
323495
324496
* The `--enable-phpdbg-webhelper` configure option has been removed.
@@ -571,7 +743,7 @@ and Autotools configuration headers were synced to a nearly identical behavior.
571743
openssl extension is available either as shared or built statically.
572744
</details>
573745
574-
## PHP 8.5 (2025)
746+
## PHP 8.5 (unreleased yet)
575747
576748
PHP coding standards now use the C11 standard.
577749

0 commit comments

Comments
 (0)