Hi, it seems that my host updated my VPS to PHP 5.2.1 and I'm having a lot of problems with php scripts now hitting a "memory limit", when they didn't previously. I've obviously tried changing the php.ini memory_limit settings but with no change to where the errors occur in the script. I read that I could be a compile problem do do with --enable_memory_limit Has anyone else had problems like this? Would it be better to go back to 5.2.0? Thanks
Edit /etc/php.ini and search for memory_limit Set it to higher value like 32M Restart apache : /sbin/service httpd restart
Hi, thanks, but as i said I'd already tried that avenue. What was causing the problem was a setting in the httpd.conf --> RLimitMEM, which was set to about 22Meg. I remed this line out and eliminated the problem. This must have been set by mt hosting co. (or cpanel) without my knowing. Thanks for the suggestions.