在64位Centos5上安装APC,phpize错误
这可能是一个常见问题,但互联网上的所有答案都未能帮助我。好的,所以我想在运行 php 5.3.5 的 Centos5 服务器上安装 APC,并安装了以下所有内容:
php-pear、php-devel、httpd-devel、pcre-devel 和开发人员工具,
但是当我执行以下任一操作时:
pecl install apc
或者
pear install pecl/apc
我收到“phpize”错误。我还找到了一个答案,说我可以使 /tmp 可执行,但是当我运行代码时,它说权限被拒绝?
有人有解决这个问题的办法吗?顺便说一句,我没有 Linux 或 SSH 方面的经验。
或者有人有关于如何手动编译 APC 的非常好的教程吗?
任何帮助将不胜感激!
谢谢
戴夫
This is probably a common question, but all answers on the internt have failed to help me. OK, so I want to install APC on my Centos5 server which is running php 5.3.5 and has all the following installed:
php-pear, php-devel, httpd-devel, pcre-devel and developer tools
but when i perfom either:
pecl install apc
or
pear install pecl/apc
I get a 'phpize' error. I also found an answer saying I could make /tmp executable but when I ran the code it said permission denied?
Anyone have a solution to this? I have no experience in linux or SSH by the way.
Or has anyone a really good tutorial on how to compile APC manually?
Any help would be greatly appreciated!
Thanks
Dave
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
对于遇到此问题的任何人,我找到了一个关于如何手动执行此操作的非常好的教程,并且它是第一次工作!
http://www.electrictoolbox.com/install-apc-php-linux/
for anyone who has this issue, I found a very good tutorial on how to do this manually and it works first time!
http://www.electrictoolbox.com/install-apc-php-linux/
您需要安装
php5-dev
软件包,其中包括phpize
命令。我不知道 CentOS 下的命令,也许then
应该可以正常工作,没有任何错误。我也遇到了同样的错误,只是在Debian下安装成功。
You need to install the
php5-dev
package, which includes thephpize
command. I don't know the command under CentOS, maybeThen
should work without any error. I had the same error, and just managed to install it successfully under Debian.