谢谢各位指点
- yugongtian2011-01-21论坛元老13378
已经解决 放出分享希望有人遇到同样问题可以得到答案
根据各位的指点小弟总结了如下
pcre-devel 这个我再发帖前 google 时 看到一个印度啊3 写过 他说 是种方法
但是安了以后还是报错,我对印度啊3 又点小歧视 发现不行 又让我给卸载了 rpm-e
然后再论坛求助 朋友告诉是 gcc 于是我 安了gcc 报错 变了 看下面楼梯
15楼 补充再让我案 pcre-devel
好吧我对国人没气势 gcc 没卸载的情况下 又安了pcre-devel
呵呵 就是啦 2个 都装 ok了 apc 正常安装呵呵
之前2个 单独装 都发生问题 原来2个是情侣 不能分开 呵呵
谢谢各位了PS俺 没按worldpress 类似程序 装了apc 内存 消耗又 130 变到了240
或许 这个东东 必须在 安装了大型php 动态程序才能显示威力吧呵呵 期待啊
安装apc 加速php 时 报错。 搜不到答案 不知 这里是否有高手能帮助解答下。。
yum install php-pearyum install php-devel
yum install httpd-devel
pecl install apc
downloading APC-3.1.6.tgz ...
Starting to download APC-3.1.6.tgz (148,835 bytes)
.................................done: 148,835 bytes
49 source files, building
running: phpize
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20060613
Zend Extension Api No: 220060519
Enable per request file info about files used from the APC cache : yes
Enable spin locks (EXPERIMENTAL) : yes
building in /var/tmp/pear-build-root/APC-3.1.6
running: /var/tmp/APC/configure --enable-apc-filehits=yes --enable-apc-spinlocks=yes
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... no
checking for gcc... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
ERROR: `/var/tmp/APC/configure --enable-apc-filehits=yes --enable-apc-spinlocks=yes' failed[ 本帖最后由 yugongtian 于 2011-1-21 15:22 编辑 ]