plog使用心得-Memory的调整
浏览首页的时候,显示
Fatal error: Allowed
memory
size of 8388608 bytes exhausted (tried to allocate 2842 bytes) in template/smarty/Smarty_Compiler.class.php on line 256
[@more@]
可以在index.php中增加
ini_set("upload_max_filesize", "20M");
ini_set("memory_limit", "32M");
ini_set("post_max_size", "24M");
来修改这些参数
评论