Reads:64774Replies:4
PHP Memory Limit
Dear all, how do i increase my php memory limit, its currently at 48M and i need atleast 128M
|
|
1st Reply#
Posted time:Nov 3, 2017 21:48 PM
You can set it in "Environment Settings > PHP Parameter Settings"
|
|
|
2nd Reply#
Posted time:Aug 1, 2018 23:41 PM
There's an easy way to increase the memory allowed to PHP, write in your script:
ini_set('memory_limit','128M'); The above code will increase the maximum amount of memory available to PHP to 128 MB. |
|
3rd Reply#
Posted time:Aug 2, 2018 14:18 PM
Hi vaeros, You can change the memory in the config file.
1) Open the php.ini file with any text editor. 2) Search for memory_limit, without the quotes. 3) Enter the new memory limit 4) Save the file |
|
|
4Floor#
Posted time:Nov 20, 2018 23:40 PM
If you are using Apache web server then you can apply the PHP memory limit changes by adding following directive in the .htaccess file
php_value memory_limit 128M |
|