服务器的php版本是5.2的(懒得升级,要改太多东西了)*
当前要做小程序获取手机号,用
$result=openssl_decrypt( $aesCipher, "AES-128-CBC", $aesKey, 1, $aesIV);
Fatal error: Call to undefined function openssl_decrypt()
就报以上错误。
后来我把openssl扩展也打开了,phpinfo中也能看到。
但仍报这个错,有遇到的朋友不?
难不成要我升级php 版本?
谢谢!!
图:
https://img-ask.csdn.net/upload/201810/31/1540916874_664444.png
https://img-ask.csdn.net/upload/201810/31/1540916862_214520.png