virtual memory exhausted: Cannot allocate memory
2018-03-26 15:27
399 查看
virtual memory exhausted: Cannot allocate memory make: * [ext/fileinfo/libmagic/apprentice.lo] Error 1
原因 :虚拟内存耗尽:无法分配内存
编译安装php时遇到 virtual memory exhausted: Cannot allocate memory
将 –disable-fileinfo 添加到 ./configure可解决问题。
file-info 是做什么的?
http://php.net/manual/zh/intro.fileinfo.php
本模块中的函数通过在文件的给定位置查找特定的 魔术 字节序列 来猜测文件的内容类型以及编码。 虽然不是百分百的精确, 但是通常情况下能够很好的工作 ~ http://php.net/manual/zh/intro.fileinfo.php
由于php打开fileinfo(php参数–enable-fileinfo)需要大量系统资源才能编译通过,小内存机器可能会编译不过、
怎么再加上这个扩展?
https://segmentfault.com/a/1190000005058875
原因 :虚拟内存耗尽:无法分配内存
编译安装php时遇到 virtual memory exhausted: Cannot allocate memory
将 –disable-fileinfo 添加到 ./configure可解决问题。
file-info 是做什么的?
http://php.net/manual/zh/intro.fileinfo.php
本模块中的函数通过在文件的给定位置查找特定的 魔术 字节序列 来猜测文件的内容类型以及编码。 虽然不是百分百的精确, 但是通常情况下能够很好的工作 ~ http://php.net/manual/zh/intro.fileinfo.php
由于php打开fileinfo(php参数–enable-fileinfo)需要大量系统资源才能编译通过,小内存机器可能会编译不过、
怎么再加上这个扩展?
https://segmentfault.com/a/1190000005058875
相关文章推荐
- virtual memory exhausted: Cannot allocate memory
- 阿里云ECS云服务器编译安装PHP遇到virtual memory exhausted: Cannot allocate memory
- 编译安装php时遇到virtual memory exhausted: Cannot allocate memory
- android4.4编译失败,出现“virtual memory exhausted: Cannot allocate memory”
- 编译QT程序出现virtual memory exhausted: Cannot allocate memory
- virtual memory exhausted: Cannot allocate memory
- virtual memory exhausted:cannot allocate memory
- 编译时:virtual memory exhausted: Cannot allocate memory
- linux下由于内存不足造成的 virtual memory exhausted: Cannot allocate memory, qt **.o文件 file not found
- 编译时:virtual memory exhausted: Cannot allocate memory,常见于VPS
- Linux编译时:virtual memory exhausted: Cannot allocate memory
- 编译时:virtual memory exhausted: Cannot allocate memory
- virtual memory exhausted: Cannot allocate memory
- 编译出现错误virtual memory exhausted: Cannot allocate memory
- PHP源码安装出现virtual memory exhausted: Cannot allocate memory
- php编译 :virtual memory exhausted: Cannot allocate memory
- 滴滴云服务器安装php的时候报错virtual memory exhausted: Cannot allocate memory make: *** [ext/fileinfo/libmagic/ap
- 编译安装php时遇到virtual memory exhausted: Cannot allocate memory
- virtual memory exhausted: Cannot allocate memory
- 编译时:virtual memory exhausted: Cannot allocate memory(转)