国产探花免费观看_亚洲丰满少妇自慰呻吟_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ā)表
主站蜘蛛池模板: 安岳县| 呼图壁县| 南溪县| 洛隆县| 东乌珠穆沁旗| 门源| 昆明市| 香港 | 桐乡市| 平安县| 威信县| 宜宾县| 西畴县| 正安县| 安顺市| 称多县| 新绛县| 肇东市| 兰西县| 叶城县| 沾益县| 长阳| 会同县| 龙泉市| 拉萨市| 兴隆县| 泸西县| 健康| 三台县| 彭阳县| 景宁| 石河子市| 莱西市| 焦作市| 禄丰县| 沈阳市| 湘西| 开原市| 武汉市| 潼关县| 永清县|