Allowed memory size of 134217728 bytes exhausted

WBOY
Release: 2016-07-29 09:05:53
Original
1613 people have browsed it

The online project has a large amount of data, and PHP suddenly reported such an error, "Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) ” It turns out that the memory used by php exceeds the maximum allowed memory set by the system.

Check the php memory limit value

Enter

Copy after login
in the php file and then access the file with the browser. You will see the information about the PHP version. Among them, Memory_limit

is the memory value you set now, as shown below:

Modify the value of the memory_limit in php.ini. //blog.itechol.com/space-33-do-blog-id-6815.html

Allowed memory size of 134217728 bytes exhausted The above introduces the Allowed memory size of 134217728 bytes exhausted, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!