<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/lang/php8, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/'/>
<updated>2026-01-25T05:06:40Z</updated>
<entry>
<title>php8: small maintainance cleanups</title>
<updated>2026-01-25T05:06:40Z</updated>
<author>
<name>Michael Heimpold</name>
</author>
<published>2026-01-17T21:15:22Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=551e00c8fcbbfb21721598f7dc392000318bad4b'/>
<id>urn:sha1:551e00c8fcbbfb21721598f7dc392000318bad4b</id>
<content type='text'>
- align the config option names
- re-order the configuration options
- add some help text
- drop obsolete notes regarding older PHP versions and obsolete CONFLICT
- remove (meanwhile) unrecognized configure options

Signed-off-by: Michael Heimpold &lt;mhei@heimpold.de&gt;
</content>
</entry>
<entry>
<title>php8: fix gettext and intl dependencies and build</title>
<updated>2026-01-16T06:35:52Z</updated>
<author>
<name>Daniel F. Dickinson</name>
</author>
<published>2026-01-01T06:17:32Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=f8b8ce62c538996d91a700588bc08c73334c3dae'/>
<id>urn:sha1:f8b8ce62c538996d91a700588bc08c73334c3dae</id>
<content type='text'>
* Add a needed BUILD_DEPENDENCY on icu package, when PHP8_INTL is
  defined.
* Make PHP8_DOM selecting PHP8_LIBXML instead of depending on it.
* PHP8_INTL does not depend on PHP8_GETTEXT, it builds also
  without gettext.
* Always show option for choosing PHP8_FULLUCIDATA
* For php8-cgi, php-cli, etc, a libstdcpp dependency is only gained
when PHP8_INTL is selected, therefore update those conditional depends.

As some combinations of these changes can change the binaries output,
PKG_RELEASE has been bumped.

Signed-off-by: Daniel F. Dickinson &lt;dfdpublic@wildtechgarden.ca&gt;
Signed-off-by: Michael Heimpold &lt;mhei@heimpold.de&gt;
</content>
</entry>
<entry>
<title>php8: add more help text and tweak whitespace</title>
<updated>2026-01-16T06:35:52Z</updated>
<author>
<name>Daniel F. Dickinson</name>
</author>
<published>2026-01-01T06:33:10Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=1a01a175fa9bd271cd14271413d57f4af2241902'/>
<id>urn:sha1:1a01a175fa9bd271cd14271413d57f4af2241902</id>
<content type='text'>
Add more menuconfig help text descriptions, and
convert some mixed tabs and spaces to spaces.

Signed-off-by: Daniel F. Dickinson &lt;dfdpublic@wildtechgarden.ca&gt;
</content>
</entry>
<entry>
<title>php8: fix xmlreader dom circular dependency</title>
<updated>2026-01-16T06:35:52Z</updated>
<author>
<name>Daniel F. Dickinson</name>
</author>
<published>2026-01-01T06:24:17Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=247c1a196496015158b9cc3ee8ff83cf0101b26b'/>
<id>urn:sha1:247c1a196496015158b9cc3ee8ff83cf0101b26b</id>
<content type='text'>
xmlreader was selecting package php8-mod-dom as well as depending on
PHP8_DOM, while php8-mod-dom also depended on PHP8_DOM (and therefore
selected PHP8_DOM when php8-mod-dom was selected). This is a Kconfig
recursive dependency, so break the recursion by noting that because
php8-mod-xmlreader selects php8-mod-dom, PHP8_DOM is a transitive
depends, so php8-mod-xmlreader should not depend on PHP8_DOM itself.

Signed-off-by: Daniel F. Dickinson &lt;dfdpublic@wildtechgarden.ca&gt;
</content>
</entry>
<entry>
<title>php8: reformat CONFIG_DEPENDS</title>
<updated>2026-01-16T06:35:52Z</updated>
<author>
<name>Daniel F. Dickinson</name>
</author>
<published>2026-01-01T06:01:34Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=8d7faa245a2d844c166692c3de884608f8a7bf28'/>
<id>urn:sha1:8d7faa245a2d844c166692c3de884608f8a7bf28</id>
<content type='text'>
Switch to a single CONFIG_ per line, and alphabetize.

Signed-off-by: Daniel F. Dickinson &lt;dfdpublic@wildtechgarden.ca&gt;
</content>
</entry>
<entry>
<title>php8: add php8 depends and move compile option to Config.in</title>
<updated>2026-01-11T19:45:13Z</updated>
<author>
<name>Florian Eckert</name>
</author>
<published>2025-12-18T12:11:23Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=74a3da92b2ae9dd1bde96f29d020b8c13a8cee5e'/>
<id>urn:sha1:74a3da92b2ae9dd1bde96f29d020b8c13a8cee5e</id>
<content type='text'>
The php8 Makefile is already quite large. To improve readability, move
config section to a separate 'Config.in' file. To ensure that the PHP8
option is only saved in '.config' if PHP8 has been selected for building. A
depends on 'PACKAGE_php8' is added to the configuration option in the
'Config.in' file.

Signed-off-by: Florian Eckert &lt;fe@dev.tdt.de&gt;
</content>
</entry>
<entry>
<title>php8: revert "php8: fix PHP8_GETTEXT missing icu dependency"</title>
<updated>2025-12-31T19:45:30Z</updated>
<author>
<name>Hannu Nyman</name>
</author>
<published>2025-12-31T19:45:30Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=7e25efa101a7c6cfed90538eefca78a2c3ee3a18'/>
<id>urn:sha1:7e25efa101a7c6cfed90538eefca78a2c3ee3a18</id>
<content type='text'>
This reverts commit 996046e642426f900809d07f5bedb6f2807f0816.

After that faulty commit the 'icu' package is always selected
even if php8 itself is not even selected.

Simple bug reproduction process:

 perus@ub2510:/OpenWrt/aarch64$ rm .config
 perus@ub2510:/OpenWrt/aarch64$ touch .config
 perus@ub2510:/OpenWrt/aarch64$ make defconfig
 Collecting package info: done
 ...
 #
 # configuration written to .config
 #

 perus@ub2510:/OpenWrt/aarch64$ grep -iE "php8|icu" .config
 # PHP8
 # CONFIG_PACKAGE_php8 is not set
 CONFIG_PHP8_LIBXML=y
 CONFIG_PHP8_DOM=y
 CONFIG_PHP8_GETTEXT=y
 CONFIG_PHP8_INTL=y
 # CONFIG_PHP8_FULLICUDATA is not set
 # end of PHP8
 CONFIG_PACKAGE_icu=y
 # CONFIG_PACKAGE_icu-data-tools is not set
 # CONFIG_PACKAGE_icu-full-data is not set

Revert the commit, so that a fix can be developed and tested.

Signed-off-by: Hannu Nyman &lt;hannu.nyman@iki.fi&gt;
</content>
</entry>
<entry>
<title>php8: fix PHP8_GETTEXT missing icu dependency</title>
<updated>2025-12-31T12:32:25Z</updated>
<author>
<name>Daniel F. Dickinson</name>
</author>
<published>2025-12-31T01:27:14Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=996046e642426f900809d07f5bedb6f2807f0816'/>
<id>urn:sha1:996046e642426f900809d07f5bedb6f2807f0816</id>
<content type='text'>
With CONFIG_PHP8_GETTEXT php8 always gains a
dependency on a version of the 'icu' package,
however said dependency is not declared, so
on gets compilation errors when
CONFIG_PHP8_GETTEXT=y but PACKAGE_icu is not
selected.

Therefore select PACKAGE_icu when PHP8_GETTEXT is
selected.

Closes #28207

Signed-off-by: Daniel F. Dickinson &lt;dfdpublic@wildtechgarden.ca&gt;
</content>
</entry>
<entry>
<title>tree-wide: remove obsolete SDK in conditionals</title>
<updated>2025-12-29T23:16:16Z</updated>
<author>
<name>Daniel F. Dickinson</name>
</author>
<published>2025-12-29T01:26:51Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=73d8b6c6f3ed25dcba6d4609c9e3995fb48dc48d'/>
<id>urn:sha1:73d8b6c6f3ed25dcba6d4609c9e3995fb48dc48d</id>
<content type='text'>
Obsolete use of $(SDK) in configure conditionals can result in
dependency errors when building a subset of packages for packages which
have multiple sub-packages.

The reason it causes dependency issues is that (using libdbi-drivers as
an example) lines like:

ifneq ($(SDK)$(CONFIG_PACKAGE_libdbd-sqlite3),)

always evaluate to true if you are compiling in the SDK. So for a user
compiling from the SDK, the configure arguments are always added to the package build.

In the case of libdbi-drivers:

CONFIGURE_ARGS += \
  --with-sqlite3 \
  --with-sqlite3-incdir=$(STAGING_DIR)/usr/include \
  -with-sqlite3-libdir=$(STAGING_DIR)/usr/lib

is always added even if PACKAGE_libdbd-sqlite3 is deselected. When
libdbd-sqlite3 is deselected, this dependency:

DEPENDS:=libdbi +libsqlite3

is not present, so when configure tries to find sqlite3 it fails.

Closes #28173 "tree-wide: obsolete $(SDK) in conditionals"

See also:

* "include: remove SDK exception from package install targets"
  openwrt/openwrt@28f44a4

Performed tree-wide to ease revert if necessary, per:
https://github.com/openwrt/packages/issues/28173#issuecomment-3694615980

Signed-off-by: Daniel F. Dickinson &lt;dfdpublic@wildtechgarden.ca&gt;
</content>
</entry>
<entry>
<title>php8: update to 8.4.16</title>
<updated>2025-12-22T16:09:29Z</updated>
<author>
<name>Michael Heimpold</name>
</author>
<published>2025-12-19T15:56:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=7b4b55633bb3705c05233981ac0a9c8402ee0401'/>
<id>urn:sha1:7b4b55633bb3705c05233981ac0a9c8402ee0401</id>
<content type='text'>
This fixes:
    - CVE-2025-14177
    - CVE-2025-14178
    - CVE-2025-14180

Upstream changelog:
https://www.php.net/ChangeLog-8.php#8.4.16

Signed-off-by: Michael Heimpold &lt;mhei@heimpold.de&gt;
</content>
</entry>
</feed>
