17452 Posts in 4473 Topics by 1971 members
|Go to End|
6 March 2008 at 1:02pm Last edited: 6 March 2008 1:03pm
Hi! I've checked the forums and increased the memory to 64M using a PHP.INI-file in the same directory as config.php. But then I got stuck with the message below.
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 19456 bytes) in /silverstripehome/cms/code/Newsletter/NewsletterType.php on line 75
I tried to store a PHP.INI in the Newsletter directory, but that just doesn't cut it.
7 March 2008 at 1:17am
8388608 bytes == 8Mb which means that your memory setting isn't working. The normal way of setting this is in your .htaccess file. Add the following line to the top of the file:
php_value memory_limit 128M
to set it to 128Mb. If that doesn't work you may try to set it in sapphire/main.php but I don't remember the function name to set it using php. Search php.net.
|Go to Top|