PHP程序提示:Allowed memory size of xxx bytes exhausted (tried to allocate xxx bytes) 错误,原因是程序运行占用的内存超出了 PHP 默认配置可使用的内存(134217728 bytes),解决方法就是调大 PHP 的 memory_limit 参数值。
打开 php.ini 文件,将
memory_limit = 128M;
修改为更大的值,如:
memory_limit = 256M;
然后重启 PHP 即可。
相关阅读:Composer提示:Fatal error: Allowed memory size of 1610612736 bytes exhausted错误的解决办法
(adsbygoogle = window.adsbygoogle || []).push({});
来源:https://www.02405.com/archives/2070
微信公众号
手机浏览(小程序)
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_6014.jpg): failed to open stream: operation failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57