packages/lang/php7
Rafał Miłecki 0421787098 php7: add package dependency on zoneinfo-core
Having "select PACKAGE_zoneinfo-core" wasn't enough for builds without
php7-cli=y or php7-cgi=y. It didn't result in installing zoneinfo-core
when using "opkg install" (during runtime or when building images with
CONFIG_TARGET_PER_DEVICE_ROOTFS).

Missing zoneinfo results in PHP fatal errors, e.g.:
Fatal error: DateTime::createFromFormat(): Timezone database is corrupt - this should *never* happen!

For years users were told to manually install zoneinfo-core package.
This problem was hidden for some time (including 17.01 release) due to
disabled support for CONFIG_PHP7_SYSTEMTZDATA. It's now back as support
for --with-system-tzdata was enabled again.

The proper solution is to simply make php7 package depend on
zoneinfo-core when PHP7_SYSTEMTZDATA is used.

Fixes: 84e5012e88 ("php7: re-enable system timezone data usage")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2018-06-24 21:33:56 +02:00
..
files php7: restructure patches 2016-09-03 21:51:23 +02:00
patches php7: update to 7.2.5 2018-04-28 23:41:31 +02:00
Makefile php7: add package dependency on zoneinfo-core 2018-06-24 21:33:56 +02:00
pecl.mk php7-pecl-http: fix build for big endian (fixes #3691) 2016-12-23 23:08:29 +01:00