Home > Backend Development > PHP Tutorial > php error Fatal error: Out of memory (allocated 262144)_PHP tutorial

php error Fatal error: Out of memory (allocated 262144)_PHP tutorial

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-07-13 10:56:59
Original
1528 people have browsed it

Yesterday, while using the website, it prompted Fatal error: Out of memory (allocated 262144). Later, Baidu searched for some solutions. I will share them with all my friends below.

From the above Out of memory (allocated 262144), it can be seen that it exceeds 256MB. We only need to adjust a reference in php.ini for this

The solution is to modify php.ini and increase memory_limit

Modify php.ini

The following areas

memory_limit = 64M 
The code is as follows
 代码如下 复制代码

memory_limit = 64M    

Copy code

Restarting apache can solve the problem. http://www.bkjia.com/PHPjc/632135.htmlwww.bkjia.comtrue
http: //www.bkjia.com/PHPjc/632135.html
TechArticle
Yesterday when I was using the website, it prompted Fatal error: Out of memory (allocated 262144). Later, I searched some on Baidu I will share the solution with you below. Out of memo from above...
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template