本文介绍了pecl install apc无法正常工作. shtool不存在的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我绝对是新手,直到一个小时前才了解SSh,并在2个小时前获得了我的第一个VPS.还在学习!

I am an absolute newbie…didn't learn about SSh till an hour ago and got my first VPS 2 hours ago. Still learning!

因此,我正在安装MediaWiki,并且需要添加APC扩展名.但是有一个小麻烦.有任何想法/提示吗?

So I'm installing MediaWiki and need to add APC extension. But having a lil trouble. Any ideas/tips?

[root@www ~]# pecl install apc`
downloading APC-3.1.13.tgz ...
Starting to download APC-3.1.13.tgz (171,591 bytes)
.....................................done: 171,591 bytes
55 source files, building
running: phpize
Configuring for:
PHP Api Version:         20090626
Zend Module Api No:      20090626
Zend Extension Api No:   220090626
shtool at '/var/tmp/APC/build/shtool' does not exist or is not executable.
Make sure that the file exists and is executable and then rerun this script.`

推荐答案

从/var/tmp目录中删除noexec标志使用以下命令

Remove noexec flag from /var/tmp directory use the following command

mount -o remount,exec /var/tmp/

您可以使用同一命令向后添加noexec标志

You can use the same command to add the noexec flag back

mount -o remount,noexec /var/tmp/

这篇关于pecl install apc无法正常工作. shtool不存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-14 18:35