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

首頁 > 系統 > CentOS > 正文

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

2020-07-08 12:50:47
字體:
來源:轉載
供稿:網友
[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
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 桑植县| 九江县| 什邡市| 根河市| 通渭县| 福安市| 嘉义县| 赣州市| 南溪县| 九龙城区| 利辛县| 灯塔市| 阜南县| 芜湖市| 临海市| 利津县| 定安县| 德阳市| 连江县| 浪卡子县| 保康县| 新民市| 武城县| 旬邑县| 察雅县| 循化| 西平县| 宝鸡市| 涟源市| 遵义市| 达州市| 牡丹江市| 柘城县| 佛学| 和平县| 上饶市| 金寨县| 固安县| 绥中县| 河西区| 海南省|