在64位Centos5上安装APC,phpize错误

发布于 2024-10-24 02:16:45 字数 467 浏览 3 评论 0原文

这可能是一个常见问题,但互联网上的所有答案都未能帮助我。好的,所以我想在运行 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

心奴独伤 2024-10-31 02:16:45

对于遇到此问题的任何人,我找到了一个关于如何手动执行此操作的非常好的教程,并且它是第一次工作!

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/

思念满溢 2024-10-31 02:16:45

您需要安装php5-dev软件包,其中包括phpize命令。我不知道 CentOS 下的命令,也许

yum install php5-dev

then

pecl install apc

应该可以正常工作,没有任何错误。我也遇到了同样的错误,只是在Debian下安装成功。

You need to install the php5-dev package, which includes the phpize command. I don't know the command under CentOS, maybe

yum install php5-dev

Then

pecl install apc

should work without any error. I had the same error, and just managed to install it successfully under Debian.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文