Keiji wrote:
elementgreen wrote:
Its probably related to apache.
Yes, Apache can be quite a hog.Try
to change your configuration off defaults and use mpm-worker instead of mpm-prefork, (and php-fastcgi instead of mod_php), like everyone should.
Fixed that for you.
It's totally not fair to compare "out of the box" (and definitely idiotic) config of Apache, with mpm-prefork, mod_php, and huge clients settings with tweaked (and you NEED to tweak it to make it work at all) nginx with its non-forking engine, and PHP as fastcgi.
When you'll set your Apache to use mpm-worker (or the poll-based one that's even more like Nginx) engine, and set up PHP as external fastcgi process (like you HAVE to do with nginx), the performance difference is much smaller. And the supportability and flexibility is much higher.
