编译php 异常

WBOY
WBOYOriginal
2016-06-13 10:30:12735browse

编译php 错误
make: *** [ext/fileinfo/libmagic/apprentice.lo] Error 1

问题是内存过小,安装环境
PHP 5.4.0  系统 CentOs 5.6 64 ,环境vps 内存128M

Adding --disable-fileinfo to ./configure solves the problem.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn