在PHP中,新发现一个可以简单监视内存使用情况的pecl叫memtrack(地址:http://php.net/manual/en/book.memtrack.php)安装:peclinstallmemtrack简单设置下:extension=memtrack.somemtrack.enabled=1;enablingMemtrackextensionmemtrack.soft_limit=int;setmemorylimitforfunctions更多设置见(http://www.php...
查看全文