centos yum php apc,centos – PECL APC安装 – 错误:’make’失败
運行sudo pecl install apc時出現以下錯誤.
/var/tmp/APC/apc_cache.c: In function '_apc_cache_user_update':
/var/tmp/APC/apc_cache.c:818: error: 'IS_CONSTANT_INDEX' undeclared (first use in this function)
/var/tmp/APC/apc_cache.c:818: error: (Each undeclared identifier is reported only once
/var/tmp/APC/apc_cache.c:818: error: for each function it appears in.)
/var/tmp/APC/apc_cache.c:820: error: 'IS_CONSTANT_ARRAY' undeclared (first use in this function)
make: *** [apc_cache.lo] Error 1
ERROR: `make' failed
我安裝了PHP 5.5.12,以下這些庫都是最新的:
sudo yum install php-pear
sudo yum install php-devel
sudo yum install httpd-devel
sudo yum install gcc
sudo yum install pcre-devel
sudo pecl install apc-beta
謝謝!
總結
以上是生活随笔為你收集整理的centos yum php apc,centos – PECL APC安装 – 错误:’make’失败的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: php循环语句w,php ftpconn
- 下一篇: php入门的ppt,php学习 字符串课