Files
packages/lang/php8/Config.in
Daniel F. Dickinson 247c1a1964 php8: fix xmlreader dom circular dependency
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 <dfdpublic@wildtechgarden.ca>
2026-01-16 07:35:52 +01:00

42 lines
1.1 KiB
Plaintext

menu "Configuration"
depends on PACKAGE_php8
config PHP8_LIBXML
bool "PHP8 LIBXML support"
default y
config PHP8_DOM
bool "PHP8 DOM support"
depends on PHP8_LIBXML
default y
help
Without php8-mod-dom, this option does not provide a PHP8
programmer the XML DOM functionality (it only adds DOM for internal
use by php-cli, php-cgi, etc.). Therefore please consider adding
php8-mod-dom to provide this functionality to PHP8 consumers.
config PHP8_SYSTEMTZDATA
bool "Use system timezone data instead of php's built-in database"
depends on PACKAGE_php8-cli || PACKAGE_php8-cgi || PACKAGE_apache-mod-php8
default y
help
Enabling this feature automatically selects the zoneinfo-core package
which contains data for UTC timezone. To use other timezones you have
to install the corresponding zoneinfo-... package(s).
config PHP8_GETTEXT
bool "Enable gettext"
default y
config PHP8_INTL
bool "Enable Internationalization"
depends on PHP8_GETTEXT
default y
config PHP8_FULLICUDATA
bool "Add dependency to full ICU Data"
depends on PHP8_INTL
default n
endmenu