Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS EC2 simple Ubuntu 20 LTS failing installation (6 times) #241

Open
IoTeacher opened this issue May 12, 2022 · 2 comments
Open

AWS EC2 simple Ubuntu 20 LTS failing installation (6 times) #241

IoTeacher opened this issue May 12, 2022 · 2 comments

Comments

@IoTeacher
Copy link

IoTeacher commented May 12, 2022

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);

@IoTeacher
Copy link
Author

+------------------+
| ERROR DETECTED |
+------------------+
Installation php-7.4.29 failed.

@teddysun
Copy link
Owner

Please check openssl version first like below:
openssl version -v
Ubuntu 20.04 default openssl version is 1.1.1f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants