Anyway, I just have compiled PHP 7.4 on Rocky 9 without issue.
You just need to run this patch before compiling PHP 7.4.
Or simply delete this line
in the file 'php-7.4.33/ext/openssl/openssl.c'
You just need to run this patch before compiling PHP 7.4.
PHP :: Bug #81278 :: Patches
bugs.php.net
Or simply delete this line
Code:
REGISTER_LONG_CONSTANT("OPENSSL_SSLV23_PADDING", RSA_SSLV23_PADDING, CONST_CS|CONST_PERSISTENT);