Bugfix: ensure the socket of the php-fpm user is used.

cc @gusano @darshanbib