Hi All,
I'm having a problem with my PHP memory limit. When trying to go to the admin login page, I get this error:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 491520 bytes) in /home/meltscom/public_html/silverstripe-cache/.cache.home.meltscom.public_html.sapphire.template s.TableListField.ss on line 622
I have tried changing php.ini to memory_limit = 256M manually, but it doesn't help. What else can I do to up the limit to prevent this from happening?
I've also tried changing max_execution_time to 1000. I have also found and corrected ini_set('memory_limit', '256M'); in sapphire/_config.php, and added the same line to mysite/_config.php.
Edit: I have run phpinfo, which confirms the memory limit is set to 256M....so I'm very stuck now :(
Edit: I found in another thread a suggestion to add php_value memory_limit 256M to the .htaccess file, I was just wondering where to add it because adding that exact line at the bottom of the .htaccess file in the root folder causes an Internal Server Error for the entire site (not just the admin page as the original error did).