LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   You are on need of building a PHP-5.6.36 package on -current, after the fall of OpenSSL 1.1.0? You will need a patch and here you find what (https://www.linuxquestions.org/questions/slackware-14/you-are-on-need-of-building-a-php-5-6-36-package-on-current-after-the-fall-of-openssl-1-1-0-you-will-need-a-patch-and-here-you-find-what-4175629700/)

Darth Vader 05-14-2018 01:10 PM

You are on need of building a PHP-5.6.36 package on -current, after the fall of OpenSSL 1.1.0? You will need a patch and here you find what
 
We like or not, the World moves slowly than we hope, and that's specially true about the sites made in PHP. Not all of them are compatible with PHP7, then we should still rely into PHP56

A particular problem appeared in -current after our BDFL pushed the OpenSSL 1.1.0, and the PHP developers has no will to patch the 5.6.x branch for, because they consider it closed to security issues only.

Luckily, a fellow made this patch: http://zettasystem.com/PHP-5.6.31-Op...20170801.patch

Details about it you will find there: https://github.com/oerdnj/deb.sury.org/issues/566

I tested this patch myself and it works well applied to PHP-5.6.36, which is today the latest version of this branch.

BTW, probably also you already know that you need also to tune your flags like:
Code:

CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS -DU_USING_ICU_NAMESPACE=1" \
./configure \

This one is for the ICU shipped by -current.

PS. No, please do not send me to upstream, because the original author of this patch was already vehemently refused, because they have no intention to add this feature (OpenSSL 1.1.0 support). ;)

lonestar_italy 05-15-2018 02:06 AM

Oh thanks a lot :-)

Darth Vader 05-17-2018 10:07 AM

Thank you, Patrick Volkeding, for adopting the alternate PHP56 package in "pasture" !

So, is time to mark this thread as solved.


All times are GMT -5. The time now is 01:35 PM.