• 企业400电话
  • 微网小程序
  • AI电话机器人
  • 电商代运营
  • 全 部 栏 目

    企业400电话 网络优化推广 AI电话机器人 呼叫中心 网站建设 商标✡知产 微网小程序 电商运营 彩铃•短信 增值拓展业务
    centos:/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
    上一篇:CentOS系统修改网卡em1为eth0的方法
    下一篇:centos7怎么查看cpu内存等系统性能参数?
  • 相关文章
  • 

    © 2016-2020 巨人网络通讯 版权所有

    《增值电信业务经营许可证》 苏ICP备15040257号-8

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