摘要:
PHP扩展开发报错解决[error: ‘PHP_FE_END’ undeclared here (not in a function)] .解决方法:进到php包的目录sed -i 's|PHP_FE_END|{NULL,NULL,NULL}|' ./ext/**/*.csed -i 's|ZEND_MOD_END|{NULL,NULL,NULL}|' ./ext/**/*.c例如:sed -i 's|PHP_FE_END|{NULL,NULL,NULL}|' ./ext/pcntl/*.csed -i 's|ZEND_MOD_END|{ 阅读全文