There is no openssl.so extension with php7.2.x
Solution 1
As i found that php7.x.x has openssl compiled within the php core and doesn't need an external extension to enable it
Solution 2
there is some problem with openssl provided with php 7.1.x, but the problem is resolved at for php versions after 7.2.x as they have inbuilt openssl 1.1.1
zewOlF
Updated on June 05, 2022Comments
-
zewOlF almost 2 years
I am not good with php, and my customer complains that openssl.so is not under the extension_dir, i do not know if this is normal or not to not find openssl.so under extension_dir, any reason for that ?
I have openssl installed,
i have also checked the below
ls -la /usr/lib/php/20170718 |grep -i openssl
and openssl.so not there, any idea what to do ?i have also enabled openssl extension from php.ini as following then restarted apache
vim /etc/php/7.2/apache2/php.ini
i am using
php7.2.4 with Debian Jessie 8.6 and apache 2.4.10
-
Sammitch almost 6 yearsIt's not an external extension, OpenSSL support is compiled into PHP core an uses the system's lib.
-
zewOlF almost 6 years@Sammitch is there is any reference for that as i am frustrated from searching online
-
Sammitch almost 6 yearsLook in the docs. I'm not sure what the issue is here, it looks like OpenSSL is enabled and should work fine. There's no earthly reason to need to know where the extension's
.so
file is.
-