重新编译PHP后重启Apache出现undefined symbol: sapi_globals怎么办

PHP编译了中间文件,如果再用./configure --with-apxs2来编译php会导致apache重启的时候出现undefined symbol: sapi_globals的错误。解决办法是在configure之前运行一下make clean即可。

你可能感兴趣的:(apache,PHP)