一般内存小于1G,fileinfo php扩展无法安装上去的,这一点宝塔也是有提示的。那怎么解决呢,那就是设置swap交换分区。
利用宝塔的 Linux工具箱可以轻松设置swap交换分区的大小,相当于windows的虚拟内存。
设置个2g,然后再去安装fileinfo就一次安装成功了。
相关阅读:Laravel Composer提示the requested PHP extension xxx is missing from your system.错误的解决办法
(adsbygoogle = window.adsbygoogle || []).push({});
来源:https://www.02405.com/archives/1930
微信公众号
手机浏览(小程序)
Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57
Warning: get_headers(): Failed to enable crypto in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57
Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_5967.jpg): failed to open stream: operation failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57