php安装yaf扩展时报错:
/usr/include/php/ext/pcre/php_pcre
.h:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/include/php/ext/pcre/php_pcre
.h:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/include/php/ext/pcre/php_pcre
.h:44: error: expected specifier-qualifier-list before ‘pcre’
这个问题是由于yaf扩展包需要安装PCRE的头文件和库.
PCRE可以从