Call to undefined function openssl_encrypt ()

Although the php.ini extension=php_openssl.dll indicated without a semicolon at the beginning, Apache is restarted, the php -m console command shows "openssl" in the list of loaded modules.

There is no openssl section in PHP info. What could be the problem?

PS: PHP downloaded from windows.php.net/download/ , version 5.6.38 (VC11 x86 Thread Safe)

  • one
    Maybe in the absence of libraries in the SYSTEM directory and in the Apache directory "ssleay32.dll" you need to drop it into the system folder or into the Apache bin folder - Vladimir Klykov
  • php_openssl.dll , ok, the file php_openssl.dll present in the / ext folder of the directory with php. Copy it to Apache? What do you mean by system directory? - Iceman
  • I didn’t write a word to you about the php_openssl.dll file, I indicated which file you need to copy from the php folder to apache/bin or to system32 and this is the ssleay32.dll file - Vladimir Klykov
  • @Vladimir Klykov, I left my comment after you edited yours. I copied ssleay32.dll in both system32 and apache's bin - so far to no avail ( - Iceman
  • Well, then copy the other three files, but if my memory does not change, they are not responsible for ssl but are associated with it libsasl.dll libssh2.dll libeay32.dll , it’s enough to copy either to the Apache folder or to the system folder, in both places it is not necessary - Vladimir Klykov

0