当前位置:论坛首页 > Linux面板 > 求助

【已回应】安装fileinfo扩展失败

发表在 Linux面板2018-10-25 18:30 [复制链接] 2 2457

版本6.1.2 php7.2
切换到php7.1 可以成功安装

全部日志上传不了,论坛提示有非法关键词..全是英文找不到哪里非法了

  1. creating libtool
  2. appending configuration tag "CXX" to libtool
  3. configure: creating ./config.status
  4. config.status: creating config.h
  5. config.status: config.h is unchanged
  6. /bin/sh /www/server/php/72/src/ext/fileinfo/libtool --mode=compile cc -I/www/server/php/72/src/ext/fileinfo/libmagic -I. -I/www/server/php/72/src/ext/fileinfo -DPHP_ATOM_INC -I/www/server/php/72/src/ext/fileinfo/include -I/www/server/php/72/src/ext/fileinfo/main -I/www/server/php/72/src/ext/fileinfo -I/www/server/php/72/include/php -I/www/server/php/72/include/php/main -I/www/server/php/72/include/php/TSRM -I/www/server/php/72/include/php/Zend -I/www/server/php/72/include/php/ext -I/www/server/php/72/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /www/server/php/72/src/ext/fileinfo/libmagic/apprentice.c -o libmagic/apprentice.lo
  7. cc -I/www/server/php/72/src/ext/fileinfo/libmagic -I. -I/www/server/php/72/src/ext/fileinfo -DPHP_ATOM_INC -I/www/server/php/72/src/ext/fileinfo/include -I/www/server/php/72/src/ext/fileinfo/main -I/www/server/php/72/src/ext/fileinfo -I/www/server/php/72/include/php -I/www/server/php/72/include/php/main -I/www/server/php/72/include/php/TSRM -I/www/server/php/72/include/php/Zend -I/www/server/php/72/include/php/ext -I/www/server/php/72/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /www/server/php/72/src/ext/fileinfo/libmagic/apprentice.c  -fPIC -DPIC -o libmagic/.libs/apprentice.o
  8. virtual memory exhausted: Cannot allocate memory
  9. make: *** [libmagic/apprentice.lo] Error 1
复制代码






使用道具 举报 只看该作者 回复
发表于 2018-10-25 22:50:11 | 显示全部楼层
  1. virtual memory exhausted: Cannot allocate memory
复制代码
虚拟内存不足,这个情况可以试试在Linux工具箱中设置比较大的swap,然后重试。
使用道具 举报 回复 支持 反对
发表于 2018-10-26 09:40:49 | 显示全部楼层
内存过小导致不通过 你可以加内存或者加大swap
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术免费分析

工作时间:09:00至18:30

快速回复 返回顶部 返回列表