Header Ads

PHP 메모리 부족 해결법

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 64 bytes) in ...

1. php.ini > 393 line

memory_limit = 128M

or

2. *.php file

ini_set('memory_limit', '256M'); 
// 또는
ini_set('memory_limit', '-1');

http://php.net/memory-limit

No comments

Copyright 2016, minki. All rights reserved. Powered by Blogger.