You are not logged in.
I had to mkdir /var/run/php-fpm.
# /usr/sbin/php-fpm
[12-Apr-2011 03:34:26] ERROR: bind() for address '/var/run/php-fpm/php-fpm.sock' failed: No such file or directory (2)
[root@satik ~]# ls /var/run
cherokee.pid crond.pid daemons dbus dhcpcd dhcpcd-eth0.pid syslog-ng.ctl syslog-ng.pid utmp
[root@satik ~]# mkdir /var/run/php-fpm
[root@satik ~]# /usr/sbin/php-fpm
now cherokee php setup works
whoever is that package maintainer should perhaps add that mkdir
thx
Offline
You should be using the /etc/rc.d/php-fpm script to start php-fpm. It also creates the /var/run/php-fpm directory if it doesn't exist.
Offline
thank you.
I used cherokee's wizard to activate php-fpm so I guess it went directly to the executible.
I leave it to you if it is wizer to create it during install or if other programs might do the same.
Last edited by lawful_evil (2011-04-12 20:19:58)
Offline
@foutrelis
incredibly helpful ... how to start php-fpm properly.
didn't see that in the wiki though it may be there. dunno at the moment.
huge thanks.
now needing to find out how to start php-fpm best, along with nginx.
rc.conf perhaps. nginx php-fpm mysqld
or maybe that will give the socket error.
not a big concern. almost there. great!!
Last edited by yvonney (2011-05-14 21:46:28)
Offline