Hi there everyone,
I recently moved a site from a server with , Apache 1.3/PHP 4.4.4/MySQL 4.2.1 to one with Apache 2/PHP 5.2.1/MySQL 5 and have run into a problem.
The site is a PostNuke site and I had to make some changes to the session function to get it to run on PHP 5.2, so I know that it wasn't written for that late a version. The problem that I run into now is that often, I end up with a memory allocation error:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 47 bytes) in /home/site/public_html/modules/gallery/classes/Album.php on line
It's usually in the gallery portion of the site because it uses more memory than most scripts.
The issue I have is that I tried to mimic the PHP settings of the old server on the new, using the same memory allocation values. I never had these errors on the old site.
My question is this. Am I dealing with a PHP issue, in which I need to alter something in the settings to account for the later version of PHP or do you think I'm dealing with a script that's unable to work on the later version of PHP?
Any thoughts would be welcome,
json