Windows服务器IIS运行php程序报错Call to undefined function openssl_random_pseudo_bytes() 解决办法,修改php.ini
报错如下
PHP Fatal error: Uncaught Error: Call to undefined function openssl_random_pseudo_bytes() in D:\wwwroot\openssl.php:18
Stack trace:
#0 {main}
thrown in D:\wwwroot\openssl.php on line 18