主頁 > 知識庫 > centos:/tmp不能運行導致的安裝編譯錯誤問題解決方法

centos:/tmp不能運行導致的安裝編譯錯誤問題解決方法

熱門標簽:常州云呼叫外呼系統(tǒng) bs外呼系統(tǒng) 長沙人工外呼系統(tǒng)公司 阿克蘇市地圖標注app 京東外呼系統(tǒng)怎么操作 小藍鴿電話機器人 ai人工電話機器人 河北機器人電銷 上海營銷外呼系統(tǒng)定制
[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

標簽:來賓 甘孜 泉州 忻州 邢臺 銅仁 甘南 周口

巨人網(wǎng)絡通訊聲明:本文標題《centos:/tmp不能運行導致的安裝編譯錯誤問題解決方法》,本文關鍵詞  centos,tmp,不能,運行,導致,;如發(fā)現(xiàn)本文內容存在版權問題,煩請?zhí)峁┫嚓P信息告之我們,我們將及時溝通與處理。本站內容系統(tǒng)采集于網(wǎng)絡,涉及言論、版權與本站無關。
  • 相關文章
  • 下面列出與本文章《centos:/tmp不能運行導致的安裝編譯錯誤問題解決方法》相關的同類信息!
  • 本頁收集關于centos:/tmp不能運行導致的安裝編譯錯誤問題解決方法的相關信息資訊供網(wǎng)民參考!
  • 推薦文章