查询php程序使用内存状况php
$size = memory_get_usage();
file_put_contents("d:/data.php", var_export($size/1024/1024 .';',true),8);内存
若是内存不够,修改最大内存:memory_limit = 128Mget
若是仍是有问题续修改链接时间it
默认 max_execution_time = 30io
修改最大链接数据file
max_execution_time = 100程序