php程序出现memory错误怎么办?如果出现Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 14942208 bytes) 这个错误提示,那么可能是你的程序对内存要求太高,默认的一个程序最多占用16M内存不够用,您可以通过webmin修改php的内存限制。比如改成32M试一试。如下图:
登录webmin后台,在对应的网站下面,找php配置:php-configure-limit.png
php-memory-limit.png
