This is mostly a feature tracker. For now we have httpd and nginx which work out-the-box with php-fpm. It will be nice to be able to do the same with lighttpd (but I never find a way to drop a configuration file somewhere with fpm configuration). For http: - php-fpm requires httpd-filesystem which provides configuration dir and user - php-fpm provides /etc/httpd/conf.d/php.conf For nginx: - php-fpm requires nginx-filesystem ... - php-fpm provides /etc/nginx/default.d/php.conf Do you think something similar will be possible for lighttpd ? If possible, I will be very happy to add this file in php-fpm. Change planed in F22: switch to UDS (instead of local loopback). As we don't have any group for all webservers in Fedora (while, p.e. Debian have www-data), we cannot set the perm on the socket using it. Thanks to https://bugs.php.net/68526 I plan to use posix ACL. So, for default provided www pool, something like. [www] listen = /run/php-fpm/www.sock listen.acl_users = apache,nginx So, without change in lighttpd, sysadmin will have to also change this configuration (they already have to change lighttpd configuration).
In https://pyd.io/fedora-lighttpd/ is a detailled howto which makes lighttpd+php-fpm work. Tested it on F21 and it works (mostly).
FYI: upcoming release of lighttpd 1.4.40 supports globbing includes, so you'll be able to drop a config file into /etc/lighttpd/conf.d/ Reference: https://redmine.lighttpd.net/issues/1221
Fedora now packages 1.4.41, has this improved?
I'm willing to ship this if someone can provide a desired config file.
@Jon If we want to follow apache and nginx solution, the only change to apply to lighttp is to create a "filesystem" subpackage for user creation and tree ownership. The PHP specific configuration will be them provided by php-fpm package (requiring lighttp-filesystem). This seems better as PHP know how is configured FPM and thus how should be configured Lighttp (mostly UDS path). But indeed, we need someone able to write this configuration file (and I have absolutely no idea how this work).
Ok, I'll get the -filesystem package out there, then.
lighttpd-1.4.43-3.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-3c14c5e289
lighttpd-1.4.43-3.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-972f208467
lighttpd-1.4.43-3.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-3c14c5e289
lighttpd-1.4.43-3.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-972f208467
lighttpd-1.4.43-3.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.
lighttpd-1.4.43-3.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.