Fatal error: Out of memory (allocated 786432)提示解决办法
发布时间:2020-12-13 20:50:23 所属栏目:PHP教程 来源:网络整理
导读:今天在运行phpmyadmin时页面突然出现了Fatal error: Out of memory (allocated 786432)提示,看英文的意思是说超过了指定内存大小了,错误提示: Fatal error: Out of memory (allocated 786432) (tried to allocate 393216 bytes) in E:xxxxlibrariescommon.l
今天在运行phpmyadmin时页面突然出现了Fatal error: Out of memory (allocated 786432)提示,看英文的意思是说超过了指定内存大小了,错误提示: Fatal error: Out of memory (allocated 786432) (tried to allocate 393216 bytes) in E:xxxxlibrariescommon.lib.php on line 3135 解决办法 一,在你程序页面加入如下代码: ini_set('memory_limit',"256M") 二,在php.ini中修改,打开php.ini修改: memory_limit = 1024M 依照服务器配置进行调整配置的内存使用大小修改后重启iis/apache (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |