Heim >Backend-Entwicklung >PHP-Tutorial >Fatal error: Out of memory (allocated 786432)提示解决办法_PHP教程

Fatal error: Out of memory (allocated 786432)提示解决办法_PHP教程

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-07-13 10:56:591728Durchsuche

今天在运行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

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/632114.htmlTechArticle今天在运行phpmyadmin时页面突然出现了Fatal error: Out of memory (allocated 786432)提示,看英文的意思是说超过了指定内存大小了,下面我来介绍解决办...
Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn