I think I followed the necessary steps but I can't get this working.
php-fpm.conf includes "include=/etc/php5/fpm/pool.d/*.conf" which contains:
- www.conf
- domain.tld.conf
The only difference between the default www.conf and the domain.tld.conf that I am trying to get to work:
[www] to [domain.tld]
listen = 127.0.0.1:9000 to :9001
pm.max_children = 2
pm.start_servers = 1
pm.min_spare_servers = 1
pm.max_spare_servers = 1
The lighttpd vhost:
fastcgi.server = ( ".php" =>
( "localhost" =>
(
"host" => "127.0.0.1",
"port" => "9001"
)
)
)
Result:
503 - Service Not Available
or
500 - Internal Server Error
Setting the port back to 9000 in the vhost and it works again. What am I doing wrong in the config? User/group in both configs has not been touched (www-data)