手机
当前位置:查字典教程网 >操作系统 >RedHat/Centos >centos:/tmp不能运行导致的安装编译错误问题解决方法
centos:/tmp不能运行导致的安装编译错误问题解决方法
摘要:[root@web1~]#peclinstallapcdownloadingAPC-3.1.9.tgz...Startingtodownlo...

[root@web1 ~]# pecl install apc

downloading APC-3.1.9.tgz ...

Starting to download APC-3.1.9.tgz (155,540 bytes)

.................................done: 155,540 bytes

54 source files, building

running: phpize

Configuring for:

PHP Api Version: 20041225

Zend Module Api No: 20060613

Zend Extension Api No: 220060519

/usr/bin/phpize: /tmp/pear/temp/APC/build/shtool: /bin/sh: bad interpreter: Permission denied

Cannot find autoconf. Please check your autoconf installation and the

$PHP_AUTOCONF environment variable. Then, rerun this script.

ERROR: `phpize' failed

The problem is caused by the /tmp/ filesystem being mounted noexec, which keeps any programs on /tmp/ from being allowed to be executed, which breaks the install script.

To remount /tmp/ as executable, use:

[root@web1 ~]# mount -o remount,exec,suid /tmp

The it should install correctly.

After the install is done, remount the /tmp/ filesystem with the noexec permissions reset.

[root@web1 ~]# mount -o remount,noexec,nosuid /tmp

【centos:/tmp不能运行导致的安装编译错误问题解决方法】相关文章:

CentOS挂载lvm分区重名问题的解决方法

CentOS执行ftp命令提示ftp:command not found解决方法

centos在线安装git的方法

centos系统上为php安装imagick扩展以及magickwand扩展的方法

CentOS(x86_64)下PHP安装memcache扩展问题解决方法分享

Centos 6.0将光盘作为yum源的设置方法

pptp及l2tp安装教程篇一安装pptp方法

CentOS下yum安装缺少kernel-headers的解决方法

CentOS 6.2 yum 安装MySQL初始化警告的解决方法

centos如何进入不同终端?centos进入不同终端的几种方法

精品推荐
分类导航