国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 系統(tǒng) > CentOS > 正文

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

2020-06-21 12:54:07
字體:
供稿:網(wǎ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
發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
主站蜘蛛池模板: 甘德县| 昆山市| 安多县| 东至县| 宁化县| 安仁县| 金坛市| 宝坻区| 宣城市| 河北区| 司法| 和龙市| 崇义县| 宜兴市| 台东县| 清河县| 景泰县| 翁源县| 班玛县| 兴安县| 德昌县| 永济市| 昌乐县| 南丹县| 寿宁县| 新乐市| 株洲县| 田林县| 英吉沙县| 长丰县| 拉萨市| 吴江市| 天全县| 阿鲁科尔沁旗| 四平市| 大冶市| 修水县| 凤城市| 洪江市| 延寿县| 义乌市|