//修改最大执行时间
ini_set("max_execution_time", 120); // s 秒
//修改此次的最大运行内存
ini_set("memory_limit", 524288000); // Byte 512M