I've set up my php5-fpm
to bind to a unix domain socket within /var/run/php5-fpm
.
/etc/php5/fpm/pool.d/www.conf
listen = /var/run/php5-fpm/$pool.sock
The problem is that it will not automatically create the php5-fpm
directory. When I reboot the machine, the directory is gone.
How can I have it automatically created on boot? Or is there an other solution to this problem?