[How to] set different memory_limit value only in a file

Hi guys,

in WHM >> PHP Configuration Editor (php.ini) >> the memory_limit are set to 30M, so the server no need too high resource, and to prevent poorly written scripts for eating up all available memory on a server

I want a file only, lets say some.php, that already trusted of course, get higher memory_limit more than set in php.ini

is there any way to do that?


i am sorry, where to add that?

in the php file, or in php.ini file in whm?

The manual is your friend: http://www.php.net/manual/en/function.ini-set.php