• 微课视频
  • 平面设计
  • 电脑入门
  • 操作系统
  • 办公应用
  • 电脑硬件
  • 动画设计
  • 3D设计
  • 网页设计
  • CAD设计
  • 影音处理
  • 数据库
  • 程序设计
  • 认证考试
  • 信息管理
  • 程序设计
  • 信息安全
微课江湖
  • 网页制作
  • 数据库
  • 程序设计
  • 操作系统
  • CMS教程
  • 游戏攻略
  • 脚本语言
  • 平面设计
  • 软件教程
  • 网络安全
  • 电脑知识
  • 服务器
  • 微课视频
  • bios
  • 系统安装
  • 系统进程
  • Windows
  • LINUX
  • RedHat/Centos
  • Ubuntu/Debian
  • Fedora
  • Solaris
  • 麒麟系统
  • 红旗Linux
  • 苹果MAC
  • 注册表
  • 其它系统
您的位置:首页 > 操作系统 >RedHat/Centos > centos:/tmp不能运行导致的安装编译错误问题解决方法

centos:/tmp不能运行导致的安装编译错误问题解决方法

作者:佚名 字体:[增加 减小] 来源:互联网 时间:2017-05-12

佚名 通过本文向大家介绍了centos tmp,centos tmp目录,tmp文件用什么打开,tmp,tmp是什么文件等相关知识,希望对您有所帮助,也希望大家多多支持微课江湖
[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 </div>
分享到:QQ空间新浪微博腾讯微博微信百度贴吧QQ好友复制网址打印

您可能想查找下面的文章:

  • centos:/tmp不能运行导致的安装编译错误问题解决方法

相关文章

  • 2017-05-12详解CentOS操作系统账户管理
  • 2017-05-12CentOS VPS如何打开80端口解决网站打不开的问题
  • 2017-05-12linux内容批量替换的命令
  • 2017-05-12Centos7安装Chacha20加密算法详解
  • 2017-05-12Centos下为程序如何设置超时?Centos下为程序设置超时的方法
  • 2017-05-12CentOS在不重启的情况下为其虚拟机添加新硬盘的教程
  • 2017-05-12CentOS7设置日期和时间方法以及基本概念介绍
  • 2017-05-12在CentOS系统安装pop3的步骤
  • 2017-05-12如何解决VMware下CentOS7网络重启出错?
  • 2017-05-12centos破解密码及运行级别介绍

文章分类

  • bios
  • 系统安装
  • 系统进程
  • Windows
  • LINUX
  • RedHat/Centos
  • Ubuntu/Debian
  • Fedora
  • Solaris
  • 麒麟系统
  • 红旗Linux
  • 苹果MAC
  • 注册表
  • 其它系统

最近更新的内容

    • centos快速查找指定类型文件并删除的方法
    • CentOS 6.X 开机错误修复步骤分享
    • 解决linux系统CentOS下调整home和根分区大小的方法
    • CentOS下cp命令中拷贝所有的写法
    • 虚拟机中向CentOS添加网卡无法识别的问题解决
    • 如何配置Centos 6.5 的yum源?
    • RedHat服务器网卡阵列配置攻略
    • CentOS安装scp命令详解
    • CentOS如何设置终端显示字符界面区域的大小?
    • centos7怎么安装 centos7安装步骤

关于我们 - 联系我们 - 免责声明 - 网站地图 - 投诉建议

©CopyRight 2015-2017 www.weikejianghu.com Inc All Rights Reserved. 微课江湖 版权所有