php memoryrequirements

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
sabraha5
Forum Newbie
Posts: 3
Joined: Tue Apr 20, 2010 4:28 pm

php memoryrequirements

Post by sabraha5 »

we are running into memory issues with running Drupal 6.3 on SUSE Linux with PHP 5.2.5 ; we do not see these issuse on same environment but running PHP 5.1.2 ; both servers are the same (and Apache shares same configuration because it is on shared NAS location -- and Drupal site on both servers pointing to same database) ; is there additional memory requirement for running the newer version of PHP?
User avatar
Sofw_Arch_Dev
Forum Commoner
Posts: 60
Joined: Tue Mar 16, 2010 4:06 pm
Location: San Francisco, California, US

Re: php memoryrequirements

Post by Sofw_Arch_Dev »

I imagine you've looked at php.ini on both deployments. What are the values for memory_limit? 8 Megs is the default. Here's mine.

Code: Select all

memory_limit = 32M      ; Maximum amount of memory a script may consume (8MB)
sabraha5
Forum Newbie
Posts: 3
Joined: Tue Apr 20, 2010 4:28 pm

Re: php memoryrequirements

Post by sabraha5 »

we run our servers with 32MB ; the issue seems to be a difference in PHP because the same site runs without issues on PHP 5.1.2 and has memory errors on PHP 5.2.5
User avatar
panic!
Forum Regular
Posts: 516
Joined: Mon Jul 31, 2006 7:59 am
Location: Brighton, UK

Re: php memoryrequirements

Post by panic! »

Could you detail the memory issues further?
sabraha5
Forum Newbie
Posts: 3
Joined: Tue Apr 20, 2010 4:28 pm

Re: php memoryrequirements

Post by sabraha5 »

we have two suse linux 10 servers, one with SP1 (PHP 5.2.1) and one with SP2 (PHP 5.2.5) ; we have Drupal 6.3 running on both servers ; we have site configuration/files on a NAS (shared between two servers) and have a single database schema ; the site when running on the SP2 server gets memory errors when listing modules in Drupal admin screen...but it seems all pages take more memory when running on the SP2 server (versus running on the SP1 server) ; so i am wondering does PHP 5.2.5 have more memory requirement than PHP 5.2.1 or is Drupal 6.3 doing something with memory which consumes more (or leaks) when running on PHP 5.2.5 ; thanks!
Post Reply