liexusong / php-beast

PHP source code encrypt module (PHP源码加密扩展)
1.71k stars 505 forks source link

7.4.2安装成功,加密时报错 #123

Open mkerj opened 4 years ago

mkerj commented 4 years ago

PHP Warning: Use of undefined constant BEAST_ENCRYPT_TYPE_AES - assumed 'BEAST_ENCRYPT_TYPE_AES' (this will throw an Error in a future version of PHP) in /Users/mkerj/Desktop/caiyun/beast/tools/encode_files.php on line 129 [27-Jul-2020 12:55:37 UTC] PHP Fatal error: Uncaught Error: Call to undefined function beast_encode_file() in /Users/m1k2erj/Desktop/ccc/beast/tools/encode_files.php:81 Stack trace:

0 /Users/m1k2erj/Desktop/ccc/beast/tools/encode_files.php(153): encrypt_directory('/Users/mkerj/De...', '/Users/mkerj/De...', 0, 'BEAST_ENCRYPT_T...')

1 {main}

thrown in /Users/m1k2erj/Desktop/ccc/beast/tools/encode_files.php on line 81

通过phpinfo() 查看是安装成功的 php -m 找不到。在7.3.11正常。 这是什么问题呢?还是没有安装成功吗

2018daydayup commented 3 years ago

PHP7.4.2编译时有提示execinfo.h文件不存在吗?