AWS EC2 simple Ubuntu 20 LTS failing installation (6 times)
I worked two years with your amazing script but is failling I use it May 11-12, 2022, using simple X-Large AWS EC2 that I use alot, but about 6 minutes fail.
Thank you I wish you luck in all your projects, ✌🏼
In file included from /home/ubuntu/lamp/software/php-7.4.29/main/php.h:441, from /home/ubuntu/lamp/software/php-7.4.29/ext/openssl/openssl.c:28: /home/ubuntu/lamp/software/php-7.4.29/ext/openssl/openssl.c: In function ‘zm_startup_openssl’: /home/ubuntu/lamp/software/php-7.4.29/ext/openssl/openssl.c:1520:58: error: ‘RSA_SSLV23_PADDING’ undeclared (first use in this function); did you mean ‘RSA_PKCS1_PADDING’? 1520 | REGISTER_LONG_CONSTANT("OPENSSL_SSLV23_PADDING", RSA_SSLV23_PADDING, CONST_CS|CONST_PERSISTENT); | ^~~~~~~~~~~~~~~~~~ /home/ubuntu/lamp/software/php-7.4.29/Zend/zend_constants.h:53:105: note: in definition of macro ‘REGISTER_LONG_CONSTANT’ 53 | #define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name)-1, (lval), (flags), module_number) | ^~~~ /home/ubuntu/lamp/software/php-7.4.29/ext/openssl/openssl.c:1520:58: note: each undeclared identifier is reported only once for each function it appears in 1520 | REGISTER_LONG_CONSTANT("OPENSSL_SSLV23_PADDING", RSA_SSLV23_PADDING, CONST_CS|CONST_PERSISTENT); | ^~~~~~~~~~~~~~~~~~ /home/ubuntu/lamp/software/php-7.4.29/Zend/zend_constants.h:53:105: note: in definition of macro ‘REGISTER_LONG_CONSTANT’ 53 | #define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name)-1, (lval), (flags), module_number) | ^~~~ /home/ubuntu/lamp/software/php-7.4.29/ext/openssl/openssl.c: In function ‘php_openssl_generate_private_key’: /home/ubuntu/lamp/software/php-7.4.29/ext/openssl/openssl.c:4021:49: warning: ‘RSA_new’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4021 | rsaparam = RSA_new(); | ^~~~~~~~ In file included from /home/ubuntu/lamp/software/php-7.4.29/ext/openssl/openssl.c:46: /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
+------------------+ | ERROR DETECTED | +------------------+ Installation php-7.4.29 failed.
Please check openssl version first like below:
openssl version -v
Ubuntu 20.04 default openssl version is 1.1.1f