0

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!

1 Answer 1

1

maybe you find your answer here : CentOS 5.5 + PHP 5.3.3 + PHP-FPM + APC + nginx (yum RPMs)

3
  • Excellent link! Thank you!! This guide though, doesn't get you MySQL support for PHP. In order to have it you need to include the "php53u-mysql" as well, in the "yum install" command. Commented Nov 12, 2011 at 15:14
  • Hi Behrooz - on this site we frown upon answers that only serve a single link, as when the link goes dead in the future, the answer becomes useless. Could you at least elaborate on the basic steps that are contained in the tutorial? Commented Nov 12, 2011 at 19:39
  • Dear Mark , I'm new to this site as you can see my profile. Okay , I will do it. thank you Commented Nov 12, 2011 at 20:14

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.