Answer the question
In order to leave comments, you need to log in
How to enable SSL in php 7?
echo php_ini_loaded_file();
produces the correct configuration file.
In it, the line with openssl is uncommented. The extension itself also lies in ext.
But
echo 'openssl: ', extension_loaded ('openssl') ? 'yes':'no', "<br>";
Outputs openssl: no
Answer the question
In order to leave comments, you need to log in
And what does phpinfo() say about openssl?
If not, is there an extension file physically in the folder with the rest of the extensions?
php -m from the command line does not swear at anything?
ini file of your worker, if the name of the module file is indicated there. That's already enough. This module does not require any additional configuration to work.
php must be built with openssl support
php -m shows connected modules
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question