|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2021-10-19 08:25 UTC] cmb@php.net
-Type: Bug
+Type: Documentation Problem
[2021-10-19 08:25 UTC] cmb@php.net
[2021-10-19 08:26 UTC] cmb@php.net
-Summary: PHP build fails with openssl 3.0.0
+Summary: OpenSSL 3.0.0 is not supported prior to 8.1.0
[2021-10-19 08:35 UTC] nikic@php.net
-Summary: OpenSSL 3.0.0 is not supported
prior to 8.1.0
+Summary: Variables become null in if
statements
-Operating System: CentOS 7.9
+Operating System: Linux
-PHP Version: 8.0.11
+PHP Version: 7.4.16
[2021-10-19 08:35 UTC] nikic@php.net
[2021-10-19 08:35 UTC] nikic@php.net
-Summary: Variables become null in if
statements
+Summary: OpenSSL 3.0.0 is not supported
prior to 8.1.0
-Operating System: Linux
+Operating System: CentOS 7.9
-PHP Version: 7.4.16
+PHP Version: 8.0.11
[2021-10-19 08:35 UTC] nikic@php.net
[2021-10-19 17:43 UTC] fred5 at originsystems dot co dot za
-Status: Open
+Status: Closed
[2021-10-19 17:43 UTC] fred5 at originsystems dot co dot za
[2021-10-19 18:33 UTC] requinix@php.net
-Status: Closed
+Status: Re-Opened
-Package: Compile Failure
+Package: OpenSSL related
[2021-10-19 18:33 UTC] requinix@php.net
[2022-03-28 18:56 UTC] bukka@php.net
-Status: Re-Opened
+Status: Closed
-Assigned To:
+Assigned To: bukka
[2022-03-28 18:56 UTC] bukka@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 06:00:02 2025 UTC |
Description: ------------ Many errors related to openssl 3.0.0 begin appearing midway through the PHP build. The build failed. A build with openssl 1.1.1l completes successfully. Below, I have listed the first errors / warnings that appeared below. Generally, php.net recommends we upgrade to the latest openssl and I would thus like to know whether openssl 3.0.0 (the latest version) is currently supported by PHP or whether we should stick with 1.1.1l thanks ---------------------------------------------------------------------------- In file included from /SystemsDevelopment/temp/osWEB/source/php-8.0.11/main/php.h:439:0, from /SystemsDevelopment/temp/osWEB/source/php-8.0.11/ext/openssl/openssl.c:27: /SystemsDevelopment/temp/osWEB/source/php-8.0.11/ext/openssl/openssl.c: In function \u2018zm_startup_openssl\u2019: /SystemsDevelopment/temp/osWEB/source/php-8.0.11/ext/openssl/openssl.c:1224:51: error: \u2018RSA_SSLV23_PADDING\u2019 undeclared (first use in this function) REGISTER_LONG_CONSTANT("OPENSSL_SSLV23_PADDING", RSA_SSLV23_PADDING, CONST_CS|CONST_PERSISTENT); ^ /SystemsDevelopment/temp/osWEB/source/php-8.0.11/Zend/zend_constants.h:50:105: note: in definition of macro \u2018REGISTER_LONG_CONSTANT\u2019 #define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name)-1, (lval), (flags), module_number) ^ /SystemsDevelopment/temp/osWEB/source/php-8.0.11/ext/openssl/openssl.c:1224:51: note: each undeclared identifier is reported only once for each function it appears in REGISTER_LONG_CONSTANT("OPENSSL_SSLV23_PADDING", RSA_SSLV23_PADDING, CONST_CS|CONST_PERSISTENT); ^ /SystemsDevelopment/temp/osWEB/source/php-8.0.11/Zend/zend_constants.h:50:105: note: in definition of macro \u2018REGISTER_LONG_CONSTANT\u2019 #define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name)-1, (lval), (flags), module_number) ^ /SystemsDevelopment/temp/osWEB/source/php-8.0.11/ext/openssl/openssl.c: In function \u2018php_openssl_generate_private_key\u2019: /SystemsDevelopment/temp/osWEB/source/php-8.0.11/ext/openssl/openssl.c:3690:7: warning: \u2018RSA_new\u2019 is deprecated (declared at /SystemsDevelopment/temp/osWEB/build/openssl-3.0.0/include/openssl/rsa.h:201): Since OpenSSL 3.0 [-Wdeprecated-declarations] rsaparam = RSA_new(); ^ /SystemsDevelopment/temp/osWEB/source/php-8.0.11/ext/openssl/openssl.c:3692:7: warning: \u2018RSA_generate_key_ex\u2019 is deprecated (declared at /SystemsDevelopment/temp/osWEB/build/openssl-3.0.0/include/openssl/rsa.h:260): Since OpenSSL 3.0 [-Wdeprecated-declarations] if (rsaparam == NULL || !RSA_generate_key_ex(rsaparam, req->priv_key_bits, bne, NULL)) { ^ /SystemsDevelopment/temp/osWEB/source/php-8.0.11/ext/openssl/openssl.c:3694:8: warning: \u2018RSA_free\u2019 is deprecated (declared at /SystemsDevelopment/temp/osWEB/build/openssl-3.0.0/include/openssl/rsa.h:293): Since OpenSSL 3.0 [-Wdeprecated-declarations] ----------------------------------------------------------------------------