php5-fpm.sock file doesn't exist

Posted by Caballero on Server Fault See other posts from Server Fault or by Caballero
Published on 2013-10-19T09:43:32Z Indexed on 2013/10/19 9:56 UTC
Read the original article Hit count: 265

Filed under:
|
|
|

I've just compiled and installed PHP-FPM 5.5.5 following this tutorial. I have ignored the apache setup section, because I'm running nginx. Everything seems to be fine:

php -v

PHP 5.5.5 (cli) (built: Oct 18 2013 21:56:02) 
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2013 Zend Technologies

Problem is, I need to link it to my nginx conf via a socket, but /var/run/php5-fpm.sock file doesn't exist. How do I create it?

The file /etc/php5/fpm/pool.d/www.conf does include the line listen = /var/run/php5-fpm.sock It is possible (though I'm not sure) that it's a leftover of an older php version 5.5.3 which was installed and removed via apt-get.

I'm running Ubuntu 13.10 (Saucy Salamander)

© Server Fault or respective owner

Related posts about ubuntu

Related posts about php