I currently have nginx installed and running on a CentOS server.
It's all good.
Now I'm trying to enable PHP but can't seem to find any clear tutorial (even nginx's docs) that will explain it straightly.
I understood so far that it's composed of two components: PHP-CGI & FCGI.
What commands simply install it? Preferbly using "yum".
Also, I want that nginx will pass data to PHP through a unix socket file, and not through TCP - performance wise.
This nginx's doc page jumps, and is not suitable for someone who just starting to get to know these stuff, as myself.
I thank you in advance!
maybe you find your answer here : CentOS 5.5 + PHP 5.3.3 + PHP-FPM + APC + nginx (yum RPMs)