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:8
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
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-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 03:01:28 2024 UTC