i'm on mac os x , i'm using php. need increase memory_limit 256m 1024m. however, when modify value in php.ini file, changes not reflected.
normally, think php.ini file located there: /usr/local/php5/lib/php.ini
as mentioned in phpinfo.php page. other values updated not one. therefore, seems memory_limit gets overwritten file. there way determine gets overwritten ?
set memory limit programmatically
ini_set('memory_limit','16m');
or
do php info , see loaded ini file located. , edit memory limit there.
Comments
Post a Comment