Mah*_*Bek 5 php windows apache laravel php-openssl
在phpinfo(); 结果给了我这个
禁用OpenSSL支持(安装ext/openssl)
延长= php_openssl.dll
设置OPENSSL_CONF =/path/to/openssl.cnf
php --ri openssl OpenSSL support => enabled OpenSSL Library Version => OpenSSL 1.0.2j 2016年9月26日Openssl default config => C:/jampp/php71/extras/ssl/openssl.cnf
它现在在CMD工作,但phpinfo(); 不在和laravel 5告诉我这个错误
调用未定义的函数openssl_encrypt()
谢谢
Mah*_*Bek 14
谢谢你只需要将(DLL的DLL文件)包含到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"
Run Code Online (Sandbox Code Playgroud)