I'm trying to figure out why I can't increase the amount of memory available to my PHP scripts beyond 32M. From the information I've searched on this forum, the server should be able to offer 64M (more would be nice, but that should hopefully suffice).
Currently I'm using:
- Code: Select all
ini_set('memory_limit', '64M');
This works for all values up to 32M (default), but does not seem to change past the default value. I've tried using a php.ini in my root folder but this results in a fatal error in my application - seems to not load some PHP modules like PDO. Setting the value in the .htaccess file doesn't work either.
Is 32M the limit for shared web hosting? Or might there be something wrong with the server configuration which I should contact support directly about?'
Thanks!