我正在尝试在 redhat 上安装 apc,所以我做了:
pecl install apc
Run Code Online (Sandbox Code Playgroud)
我说是:
Use apxs to set compile flags (if using APC with Apache)? [yes]:
Run Code Online (Sandbox Code Playgroud)
我明白了:
checking for re2c... no
configure: WARNING: You will need re2c 0.9.11 or later if you want to \
regenerate PHP parsers.
Run Code Online (Sandbox Code Playgroud)
和
checking whether apc needs to get compiler flags from apxs...
Sorry, I was not able to successfully run APXS. Possible reasons:
1. Perl is not installed;
2. Apache was not compiled with DSO support (--enable-module=so); …Run Code Online (Sandbox Code Playgroud)