Admin-Ahead Community
Linux => General Linux => Topic started by: Aby on May 06, 2014, 01:32:47 pm
-
Increase memory_limit of a particular script
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
====