| 您的位置:首页 > 文档 > apache > |
文章分类热门文章 |
Apache2.0.39(40)+PHP4.2.1/4.2.2在make时错误的解决方法创建:2005-10-27 16:17:59 作者:Unlinux 来自: http://www.Unlinux.com 作者:fei 到4.2.2也还没改过来--会出现php_functions.c:93: parse error make[3]: *** [php_functions.lo] Error 1 make[3]: Leaving directory `/root/php-4.2.2/sapi/apache2filter' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/root/php-4.2.2/sapi/apache2filter' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/php-4.2.2/sapi' make: *** [all-recursive] Error 1 1.configure 2.改php源码的sapi/apache2filter/php_functions.c的93行在MODULE前面加上AP_ 3.make 4.make install 5.libtool --finish --不做也行-少做这步可能会有段错误。--那时再试试--。 2.0.40的解决办法--除了上面的还要把sapi/apache2filter/sapi_apache2.c的534和535行改成 ap_register_output_filter("PHP", php_output_filter, NULL, AP_FTYPE_RESOURCE); ap_register_input_filter("PHP", php_input_filter, NULL, AP_FTYPE_RESOURCE); 就是加NULL即可。 转载自:http://www.unlinux.com/doc/apache/20051027/2707.html 【评论】 【加入收藏夹】 【大 中 小】 【打印】 【关闭】 ※ 相关链接
|