Home Miscellaneous Increase memory_limit of a particular script

Increase memory_limit of a particular script

by SupportPRO Admin

You can increase the memory_limit for a specific script by editing the file and after “<?php”, place the following code

ini_set(“memory_limit”,128M”);

Also we can increase memory_limit of a particular user by creating a custom php.ini file in their document root. Create php.ini as,

memory_limit = 64M

or

edit .htaccess file and add as,

php_value memory_limit 64M

If you require help, contact SupportPRO Server Admin

Server not running properly? Get A FREE Server Checkup By Expert Server Admins - $125 Value

Leave a Comment