当前位置:澳门新葡亰登入 > 热门资源 > php-screw版本问题

php-screw版本问题

文章作者:热门资源 上传时间:2020-04-21

几日前在要php5.4.6中编写翻译安装多个php-screw了,可是怎么操作都不成功了,后来寓目有意中人博客写到一篇有关php-screw在php5.4.6上编写翻译退步难点的应用方案,于是拿过来试了一晃没悟出还真解决了,上面小编把文章拿出去与大家一齐分享。

php-screw版本难题,报错

make

/bin/sh /root/php_screw-1.5/libtool --mode=compile cc -I. -I/root/php_screw-1.5 -DPHP_ATOM_INC -I/root/php_screw-1.5/include -I/root/php_screw-1.5/main -I/root/php_screw-1.5 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/php_screw-1.5/php_screw.c -o php_screw.lolibtool: compile: cc -I. -I/root/php_screw-1.5 -DPHP_ATOM_INC -I/root/php_screw-1.5/include -I/root/php_screw-1.5/main -I/root/php_screw-1.5 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/php_screw-1.5/php_screw.c -fPIC -DPIC -o .libs/php_screw.o/root/php_screw-1.5/php_screw.c: In function zm_startup_php_screw:/root/php_screw-1.5/php_screw.c:124: error: struct _zend_compiler_globals has no member named extended_info/root/php_screw-1.5/php_screw.c: In function zm_shutdown_php_screw:/root/php_screw-1.5/php_screw.c:133: error: struct _zend_compiler_globals has no member named extended_infomake: *** [php_screw.lo] Error 1

修改php-screw.c

代码如下复制代码

修改CG(extended_info) = 1;为CG(compiler_options) |= ZEND_COMPILE_EXTENDED_INFO;

本文由澳门新葡亰登入发布于热门资源,转载请注明出处:php-screw版本问题

关键词: