-2

I am following this tutorial, and have gotten thus far:

I have installed the following packages using apt-get install nginx php5-cli php5-cgi spawn-fcgi psmisc. Despite installing PHP FastCGI, I do not have the following directory on my server for my fastcgi_pass:

fastcgi_pass unix:/var/run/php-fastcgi/php-fastcgi.socket;

How can I fix this issue? Am I meant to make the fastcgi_pass my server's IP address, or should it be as shown in the tutorial?

1
  • Are you obliged to use fastcgi? php-fpm should be much better. May 14, 2015 at 20:55

1 Answer 1

0

You will need to create the folder /var/run/php-fastcgi/ and set the owner to the account that nginx is set to use. That will allow nginx to create php-fastcgi.socket for you.

Please see here for further information.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .