Which php handling method do you recommend for best performance?

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by giorgio79 on June 19, 2013 at 2:12pm

Helllo,

The installation steps mention 3 php modes https://github.com/perusio/drupal-with-nginx#installation
upstream
fastcgi
php fpm

Which one do you recommend? I have not found any benchmarks comparing them. I am using Boost, so nginx will serve lots of static files.

Categories:

Comments

I recommend

Posted by perusio on June 19, 2013 at 2:27pm

and I think I'm not alone here ;) using php-fpm. As for using UNIX or TCP sockets it depends on your site traffic. For higher traffic sites my experience is that TCP sockets are more reliable.

php-fpm

Posted by trotsak on January 24, 2014 at 9:54am

+1 for php-fpm

Posted by Slovak on January 25, 2014 at 3:24pm

+1 for php-fpm

Once more for php-fpm and ...

Posted by krisp1 on January 26, 2014 at 1:00am

.... Unix socket rather than tcp also.

Yes, use sockets instead of

Posted by bhosmer on January 26, 2014 at 2:29am

Yes, use sockets instead of tcp.

Nginx

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /