Commit Graph

5 Commits

Author SHA1 Message Date
Claude Bing a6c9ad397b php: update fix for opcache link issue in 7.4.4
The source of the issue is the update for PHP 7.4 support in
0001-opcache-config.m4-enable-opcache.patch (commit 7cc7a9ec).  Instead
of working around the issue in the recipe file, update the patch to
restore the call to PHP_ADD_LIBRARY().

Signed-off-by: Claude Bing <cbing@cybernetics.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 3cfd16be4e)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-05-17 14:38:21 -07:00
Claude Bing a009197ef4 php: fix opcache link error in 7.4
Explicitly specifying -lrt is required for opcache to be linked against
the proper dependencies.  Additionally, PHP disables libdl when it
detects a cross-compilation environment for some reason.  In order to
load any type of extension, re-enabling libdl is required.

Signed-off-by: Claude Bing <cbing@cybernetics.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 0145cb4645)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-05-17 14:36:56 -07:00
Claude Bing ecce4fe695 php: fix PACKAGECONFIG for soap
PHP 7.4 enables libxml by default and removed it as a configurable
option.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 7aeef522ff)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-05-17 14:32:08 -07:00
Konrad Weihmann 99f2050d08 php: fix zip package config
--enable-zip and --with-libzip were removed in PHP 7.x.
These are replaced by --with-zip --with-zlib-dir.

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 6690afa59e)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-05-17 14:26:22 -07:00
Changqing Li 7cc7a9ec88 php: upgrade 7.3.16 -> 7.4.4
License-Update: License updated (year updated)

note: for 7.4, pear is disabled by default,
and it will be deprecated in future.

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-27 07:48:47 -07:00