View Single Post
Old 03-11-2009, 11:54 PM   #3 (permalink)
Salathe
Moderateur
RegEx Guru PHP Guru Top Contributor Advanced Programmer 
 
Salathe's Avatar
 
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
Salathe is on a distinguished road
Default

memory_limit's value can be set "anywhere": http.conf, php.ini, .htaccess or at runtime with ini_set(). (The latter probably being preferable.)

There are also various techniques which can be used to best utilise memory when manipulating images, but they only go so far and there's no magic recipe.
Salathe is offline  
Reply With Quote