Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 28270  / 2 Years ago, tue, may 10, 2022, 5:15:25

When upgrade my linux to 22.04 and openssl3.0.2 (php7.4-fpm) get this error in my site:


file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:0A000126:SSL routines::unexpected eof while reading

More From » openssl

 Answers
0

OK I can verify the following:
If you have OpenSSL3.0.2 on Ubuntu 22.04 and are receiving this error, verify what version of PHP you are using. PHP8.0 and lower is not compatible with OpenSSL3.0.2. You will need to upgrade to PHP8.1 or higher. I run a zabbix server on Ubuntu22.04 and was receiving this error on a lot of my servers, but after updating to PHP8.1 all of them came online without error.


https://github.com/php/php-src/issues/8369#issuecomment-1126935451
PHP 8.0 does not support OpenSSL 3.0 so it's not applicable there.


[#593] Wednesday, May 11, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
oneeme

Total Points: 340
Total Questions: 110
Total Answers: 133

Location: Ghana
Member since Fri, Oct 21, 2022
2 Years ago
oneeme questions
Wed, Jul 6, 22, 17:32, 2 Years ago
Tue, Mar 15, 22, 05:29, 2 Years ago
Mon, Sep 27, 21, 15:42, 3 Years ago
Thu, Sep 23, 21, 16:55, 3 Years ago
;