Page 1 of 1

php memoryrequirements

Posted: Tue Apr 20, 2010 4:38 pm
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?

Re: php memoryrequirements

Posted: Thu Apr 22, 2010 1:15 pm
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)

Re: php memoryrequirements

Posted: Thu Apr 22, 2010 1:25 pm
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

Re: php memoryrequirements

Posted: Sat Apr 24, 2010 5:56 pm
by panic!
Could you detail the memory issues further?

Re: php memoryrequirements

Posted: Sun Apr 25, 2010 7:51 am
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!