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

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

[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标志

挂载-o重新挂载,执行/var/tmp/

您可以使用相同的命令将noexec标志添加回去

挂载-o重新挂载,noexec/var/tmp/

关于php - pecl install apc无法正常工作。 shtool不存在,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/15692349/

10-12 15:18