lihancong / tonyenc

高性能、跨平台的 PHP7 代码加密扩展 (A high performance and cross-platform encrypt extension for PHP source code)
725 stars 202 forks source link

Warning: PHP Startup: tonyenc: Unable to initialize module #33

Closed hulang closed 4 years ago

hulang commented 4 years ago

win10 x64,用的:Laragon,PHP版本:php-7.2.19-Win32-VC15-x64

下载后,用的:php_tonyenc_php70_x64_ts.dll版本 在php.ini中加入: extension=php_tonyenc_php70_x64_ts

在命令行下:php -v 就提示如下。。哪里搞错了?

Warning: PHP Startup: tonyenc: Unable to initialize module Module compiled with module API=20151012 PHP compiled with module API=20170718 These options need to match in Unknown on line 0

lihancong commented 4 years ago

php70_x64_ts.dll版本

hulang commented 4 years ago

@lihancong 我下载的就是啊。。。你这样回复有意义么?

hulang commented 4 years ago

算了。。我彩笔搞不来。。。

lihancong commented 4 years ago

我下载的就是啊。。。你这样回复有意义么?

你版本用错了,我写的就是7.0的,你的版本的编译方法我也写了