PHP源码安装mcrypt扩展error: ‘PHP_FE_END’ undeclared here (not in a function)错误处理
问题描述:make时提示error:‘PHP_FE_END’undeclaredhere(notinafunction)错误。解决办法:1、切换到php的源码目录,如:php-5.3.18/2、执行下面两行#sed-i's|PHP_FE_END|{NULL,NULL,NULL}|'./ext/**/*.c#sed-i's|ZEND_MOD_END|{NULL,NULL,NULL}|'./ext/*