I'm using Debian Lenny. I'm trying to switch over to from apache to nginx--and so far I like the transition. But everything I'm reading suggests to use php-fpm, but since Lenny comes with 5.2.6, FPM is a patch, and I'd have to uninstall the PHP debs and install php from source--at that point i could just as well install the latest version of PHP from source.

Currently I'm somewhat following this guide but it seems pretty inefficient, running nginx directly against php-cgi... its spawned processes seem to spike up to 10% CPU per each page load.

link|improve this question

80% accept rate
1  
What's your actual question? That guide is way outdated, don't follow it, other than that I don't know what to tell you. – Martin Fjordvald Sep 8 '11 at 21:36
So why not upgrade from Lenny to Squeeze? Lenny is obsolete. – mailq Sep 8 '11 at 22:25
I would love to update to squeeze, but I have end to end control over a great deal of client installations (they're all very similar save for some configs) which is why I'm looking at the performance benefits of nginx, and upgrading the distro is not an option. Otherwise you're absolutely correct. – andyortlieb Sep 9 '11 at 19:21
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.