I'm trying to embed G2 in Drupal but i get an memory limit error.
My provider doesnt allow to modify .htaccess nor php.ini. I remember that once, on this same provider i've added a string to a php file (ini_set("memory_limit", "32M"); ) and that worked out. the problem is that i forgot what i had done at that time and i'm not able to fix it again. can someone help?
thankx!!
Posts: 32509
there's no guarantee that it works, but you might want to add the line
ini_set("memory_limit", "32M");
to:
gallery2/index.php
gallery2/main.php
gallery2/lib/support/index.php
and when you upgrade to:
gallery2/upgrade/index.php
--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage