Fatal error: Call to undefined function openssl_random_pseudo_bytes()

后端 未结 6 1062
孤独总比滥情好
孤独总比滥情好 2020-12-01 23:36

I am getting this exception when trying to run my PHP unit tests:

Fatal error: Call to undefined function openssl_random_pseudo_bytes()

6条回答
  •  时光说笑
    2020-12-02 00:11

    I had the same issue. I solved it by editing my php.ini file - changing ;extension=php_openssl.dll to extension=php_openssl.dll .

    (For my installation, my php.ini file was located in my P:\Program Files\EasyPHP-12.1\conf_files\ directory.)

提交回复
热议问题