|Posted: Wed, 2005-08-17 15:35|
Hi, I am having an issue when I set my php memory limit to anything other than 8M. My ISP tells me that setting this limit above 8M is forbidden. They do allow prepend.php files so I created one to extend the php memory limit = 16M
<?php ini_set(memory_limit,"16M"); ?>
Going right to Gallery2 works fine. It's when I try getting to Gallery2 via embedded mode is when I get an "HTTP 500 Internal Server Error". So I remove the prepend.php file that bumps the memory up to 16M and when I go to Gallery2 this time using embedded mode all I get is a blank page.
I don't believe that it's some directive they have set to kill my php session when it gets above 8M because I can get to Gallery2 directly just fine. Unless somehow Mambo is pushing the php memory limit past 8M and thats when I see the 500 error.
Mambo version is 22.214.171.124
Gallery version = 2.0-rc-1+ core 0.9.34
Is there anyway to display how much memory isgetting used before the call to Gallery2 through the com_gallery2 component?
Any troubleshooting tips are greatly appriciated.