|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #75727 PHP OpenSSL Error “undefined symbol: OPENSSL_init_ssl”
Submitted: 2017-12-24 05:33 UTC Modified: 2018-05-05 21:52 UTC
Avg. Score:4.2 ± 0.8
Reproduced:6 of 7 (85.7%)
Same Version:2 (33.3%)
Same OS:0 (0.0%)
From: wenhao01 at 126 dot com Assigned:
Status: No Feedback Package: Dynamic loading
PHP Version: 7.2.0 OS: Centos6.5
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2017-12-24 05:33 UTC] wenhao01 at 126 dot com
I have enabled the in php.ini. My PHP version is 7.2.0, and Openssl version is 1.1.1. But when I use the command 'php -v',there's a error

"php: symbol lookup error: /usr/local/php7/lib/php/extensions/no-debug-non-zts-20170718/ undefined symbol: OPENSSL_init_ssl".

How can I solve the problem?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2018-01-11 01:48 UTC]
-Status: Open +Status: Feedback -Package: PHAR related +Package: Dynamic loading
 [2018-01-11 01:48 UTC]
Looks like PHP was built against OpenSSL < 1.1, not OpenSSL 1.1.1 as claimed. Please attach the output of the configure command used to build PHP.

See also the same question on SO, which may over time provide other information:
 [2018-05-05 21:52 UTC]
-Status: Feedback +Status: No Feedback
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Jun 25 16:01:31 2024 UTC