0
votes

I know this question has been posted here, but I can't seem to fix it.

The problem is that Drupal needed more memory than php was allowed to give it.

running a phpinfo() I find the configuration file path is: /Applications/MAMP/bin/php/php5.4.10/conf/php.ini and I adjusted that file. (memory_limit = 1028)

I also adjusted: main php.ini (MAMP/conf/php5.4.10) drupal settings.php (MAMP/htdocs/drupal-7.24/sites/default/settings.php)

nothing seems to work.. any help is appreciated

2

2 Answers

0
votes

Why don't you update it in a .htaccess file?

php_value memory_limit 1028M

Or is this not an option?

0
votes

I think maybe the configure file is not the right one. You should run phpinfo() in the php script which is access by the webserver.

You can try to set it in your php script:

ini_set('memory_limit', -1);