i use yum install php, the version is 8.0.30.and it has openssl module.and i type openssl version it show 3.0. My question is php under 8.1 are not compatible with OpenSSL3.I just wonder how rocky did.Change the php source code? thanks
Hello, welcome to the forums.
The RPM sources for php can be found here. Select the branch you wish to see. For example, the r9
branch is specifically for php 8.0.30, the non-module version of php in Rocky Linux 9.
If you look at the spec file you’ll find various “Patch” lines. For this php version we ship, there are a lot of patches applied to the source during the build. The patch that allows php 8.0 to work with openssl 3 is Patch50: php-8.0.21-openssl3.patch
, which would be here.
1 Like
Indeed, support for OpenSSL 3 was backported to PHP 8.0, and this is quite a huge patch.
1 Like