环境:虚拟机Ubuntu18.04
内存分配了8个G
cpu 4核 磁盘 500g
故障体现:
再详细详细日志处的截图
根据百度的各类大神都是说内存不够引起的,而宝塔官方也这么一说,并木有给出其他的解决方法。
而根据我自己的环境来看,不存在内存不足引起一说。
修复:
再ssh 界面下操作
我的是php 7.1
cd /www/server/php/71/src/ext/fileinfo/
make distclean
./configure --with-php-config=/www/server/php/71/bin/php-config
make
make install
结果:
[email protected]:/www/server/php/71/src/ext/fileinfo# make install
Installing shared extensions: /www/server/php/71/lib/php/extensions/no-debug-non-zts-20160303/
最后,修改php7.1的配置文件,添加配置项:
extension=/www/server/php/71/lib/php/extensions/no-debug-non-zts-20160303/fileinfo.so
重启php,搞定。