Rumah >pembangunan bahagian belakang >tutorial php >编译php 异常
编译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.