php.net |  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
Votes:7
Avg. Score:4.4 ± 0.7
Reproduced:5 of 6 (83.3%)
Same Version:2 (40.0%)
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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: wenhao01 at 126 dot com
New email:
PHP Version: OS:

 

 [2017-12-24 05:33 UTC] wenhao01 at 126 dot com
Description:
------------
I have enabled the openssl.so 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/openssl.so: undefined symbol: OPENSSL_init_ssl".

How can I solve the problem?


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-01-11 01:48 UTC] bishop@php.net
-Status: Open +Status: Feedback -Package: PHAR related +Package: Dynamic loading
 [2018-01-11 01:48 UTC] bishop@php.net
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:
https://stackoverflow.com/questions/47957434/php-openssl-error-undefined-symbol-openssl-init-ssl
 [2018-05-05 21:52 UTC] requinix@php.net
-Status: Feedback +Status: No Feedback
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat Sep 25 22:03:39 2021 UTC