环     境:discuz 6.0
症     状:无法上传较大的图片附件,较大的其他附件以及较小的图片附件都没问题;中间偶尔出现一次
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 5760 bytes) in   /www/users/bhclub.net/include/image.class.php on line 179

问题确定:网上搜索,基本确定是分配给图片上传的内存不够用了,于是只能上传较小的附件
解决办法:登陆ftp,修改文件image.class.php,增加语句:ini_set(‘memory_limit’, ‘-1’);

参考文章:hi.baidu.com/us_hosting/blog/item/5e562d6d507e91f842169424.html