openssl_encrypt ($string, $method, $pass);
当我通过 php cmd 运行它时,我可以运行它。但是,当我通过 Apache http 服务器运行它时,它会抛出以下错误:
Fatal error: Uncaught Error: Call to undefined function openssl_encrypt() in D:\...\lab.php:2 Stack trace: #0 {main} thrown in D:\...\lab.php on line 2