|  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
48 + 46 = ?
Subscribe to this entry?

 [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-2023 The PHP Group
All rights reserved.
Last updated: Sat Sep 23 11:01:26 2023 UTC