Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Centos7报错 虚拟机 #4

Open
huanzhiyi opened this issue Jun 5, 2020 · 4 comments
Open

Centos7报错 虚拟机 #4

huanzhiyi opened this issue Jun 5, 2020 · 4 comments

Comments

@huanzhiyi
Copy link

In file included from /tmp/php-decrypt/decrypt.c:28:0:
/tmp/php-decrypt/decrypt.c: 在函数‘decrypt_compile_file’中:
/tmp/php-decrypt/php_decrypt.h:55:45: 错误:‘decrypt’未声明(在此函数内第一次使用)
#define DCG(v) ZEND_MODULE_GLOBALS_ACCESSOR(decrypt, v)
^
/tmp/php-decrypt/decrypt.c:41:16: 附注:in expansion of macro ‘DCG’
if(is_dirs(DCG(global_new)))
^
/tmp/php-decrypt/php_decrypt.h:55:45: 附注:每个未声明的标识符在其出现的函数内只报告一次
#define DCG(v) ZEND_MODULE_GLOBALS_ACCESSOR(decrypt, v)
^
/tmp/php-decrypt/decrypt.c:41:16: 附注:in expansion of macro ‘DCG’
if(is_dirs(DCG(global_new)))
^
/tmp/php-decrypt/decrypt.c:41:20: 错误:‘global_new’未声明(在此函数内第一次使用)
if(is_dirs(DCG(global_new)))
^
/tmp/php-decrypt/php_decrypt.h:55:54: 附注:in definition of macro ‘DCG’
#define DCG(v) ZEND_MODULE_GLOBALS_ACCESSOR(decrypt, v)
^
In file included from /usr/include/string.h:633:0,
from /usr/local/php/include/php/main/../main/php_config.h:2542,
from /usr/local/php/include/php/Zend/zend_config.h:1,
from /usr/local/php/include/php/Zend/zend.h:51,
from /usr/local/php/include/php/main/php.h:35,
from /tmp/php-decrypt/decrypt.c:25:
/tmp/php-decrypt/decrypt.c: 在函数‘zm_startup_decrypt’中:
/tmp/php-decrypt/php_decrypt.h:55:45: 错误:‘decrypt’未声明(在此函数内第一次使用)
#define DCG(v) ZEND_MODULE_GLOBALS_ACCESSOR(decrypt, v)
^
/tmp/php-decrypt/decrypt.c:75:16: 附注:in expansion of macro ‘DCG’
if(!strcmp(DCG(global_switch),"enable"))
^
/tmp/php-decrypt/decrypt.c:75:20: 错误:‘global_switch’未声明(在此函数内第一次使用)
if(!strcmp(DCG(global_switch),"enable"))
^
/tmp/php-decrypt/decrypt.c:75:16: 附注:in expansion of macro ‘DCG’
if(!strcmp(DCG(global_switch),"enable"))
^
/tmp/php-decrypt/decrypt.c: 在函数‘zm_shutdown_decrypt’中:
/tmp/php-decrypt/php_decrypt.h:55:45: 错误:‘decrypt’未声明(在此函数内第一次使用)
#define DCG(v) ZEND_MODULE_GLOBALS_ACCESSOR(decrypt, v)
^
/tmp/php-decrypt/decrypt.c:88:16: 附注:in expansion of macro ‘DCG’
if(!strcmp(DCG(global_switch),"enable"))
^
/tmp/php-decrypt/decrypt.c:88:20: 错误:‘global_switch’未声明(在此函数内第一次使用)
if(!strcmp(DCG(global_switch),"enable"))
^
/tmp/php-decrypt/decrypt.c:88:16: 附注:in expansion of macro ‘DCG’
if(!strcmp(DCG(global_switch),"enable"))
^
make: *** [decrypt.lo] 错误 1

@myfengstyle
Copy link

同问

@vipxkw
Copy link

vipxkw commented Jan 17, 2021

这个说的很清楚,不支持PHP5,用php7及以上就好了

@huanzhiyi
Copy link
Author

这个说的很清楚,不支持PHP5,用php7及以上就好了

是的,后面发现了 不过 功能上 用起来就比较一般 比较多无法解

@vipxkw
Copy link

vipxkw commented Jan 17, 2021

这个说的很清楚,不支持PHP5,用php7及以上就好了

是的,后面发现了 不过 功能上 用起来就比较一般 比较多无法解

我是直接无法使用,编译后配置好就直接502了,没法用,恼火

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants