in phpinfo(); results give me this
OpenSSL support disabled (install ext/openssl)
extension=php_openssl.dll
set OPENSSL_CONF=/path/to/openssl.cnf
php --ri openssl OpenSSL support => enabled OpenSSL Library Version => OpenSSL 1.0.2j 26 Sep 2016 Openssl default config => C:/jampp/php71/extras/ssl/openssl.cnf
its now working in CMD and but phpinfo(); not and in laravel 5 show me this error
Call to undefined function openssl_encrypt()
Thanks
OpenSSL module is by default added to PHP.
Next check the location of php_openssl. dll, which you should find in c:/PHP/ext. Also in php. ini find the key extension_dir, and change its value to c:/php/ext.
Thank you all its just need includes the (DLLs files of php) into httpd.conf
LoadFile "C:/jampp/php/libeay32.dll"
LoadFile "C:/jampp/php/ssleay32.dll"
LoadFile "C:/jampp/php/php7ts.dll"
LoadFile "C:/jampp/php/libpq.dll"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With