php8 PHP Startup: Unable to load dynamic library 'openssl'
Sonder
2024-10-06
499字
1分钟
浏览 (484)
我用的是小皮面板,里面php最新版本是:8.2.9nts。
报错 openssl error
The openssl extension is required for SSL/TLS protection but is not available. If you can not enable the openssl ex
tension, you can disable this error, at your own risk, by setting the 'disable-tls' option to true.
#php.ini
extension_dir=D:/phpstudy_pro/Extensions/php/php8.2.9nts/ext
extension=php_openssl.dll
不要把extension=openssl.dll
前面的";"
去掉,重新加一个extension=php_openssl.dll
报错 track_errors
#php.ini
#track_errors=On
track_errors=Off