make: *** [ext/fileinfo/libmagic/apprentice.lo] error 1
解决办法
这是由于内存小于1g所导致.
在./configure加上选项:
--disable-fileinfo