[BlueOnyx:22699] PHP-7.3 issues

Michael Stauber mstauber at blueonyx.it
Sat Feb 16 14:33:37 -05 2019


Hi all,

I'm currently in the process of rolling up PHP-7.3 for BlueOnyx and have
run into a few issues with it.

This is the first build of PHP that requires cmake > 3.0 as well as
pcre2 > 10.30 and also libzip > 0.12.

This directly creates a couple of challenges:

For CentOS 7 there is no cmake > 3.0 unless I take one from Epel and
even that is a minor version number smaller than PHP 7.3 requires.
CentOS 7 also comes without pcre2, although we recently added it to the
BlueOnyx YUM repositories as Clam AV now needs it. Still: Even that
version of pcre2 is older than PHP 7.3 requires. So I had to build yet
another and newer pcre2.

The libzip issue is even more complex: CentOS 7 ships 0.10.1 and that is
needed for the onboard OS provided PHP-5.4. It cannot be upgraded to the
latest 1.5.1 (go figure!) without breaking dependencies. However, I can
resort to build PHP without libzip without loosing much functionality.

All in all it's slightly upsetting that the build requirements for PHP
7.3 detour so much from the available software for CentOS 7. Even if you
figure in Epel it won't build as intended, as some stuff that Epel
provides isn't new enough either.

Long story short: I got PHP-7.3.2 built for 5209R, but only barely so.
And building it for EL6 will be an entirely different story, as the
software and libraries there are even much older. I'll give it a try,
but it make take a while.

On a sidenote: PHP 7.3 won't build out of the box on RHEL8 (beta)
either. Same story: Some RPMs it ships are already older than PHP-7.3
expects. Go figure!

The PHP-7.3 for 5209R is now in testing and if it holds up it'll be
released to NewLinQ on Sunday late evening or Monday next week.


-- 
With best regards

Michael Stauber



More information about the Blueonyx mailing list