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.
giorgio79's picture

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.

Comments

I recommend

perusio's picture

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

trotsak's picture

php-fpm

+1 for php-fpm

Slovak's picture

+1 for php-fpm

Once more for php-fpm and ...

krisp1's picture

.... Unix socket rather than tcp also.

Yes, use sockets instead of

bhosmer's picture

Yes, use sockets instead of tcp.

Nginx

Group organizers

Group notifications

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