[pkg-lighttpd] Bug#600050: Bug#600050: /etc/lighttpd/conf-available/15-fastcgi-php.conf: fastcgi-php file missing a required directive

Didar Hossain didar.hossain at gmail.com
Wed Oct 13 10:22:40 UTC 2010


On Wed, Oct 13, 2010 at 12:59 PM, Olaf van der Spek
<olafvdspek at gmail.com> wrote:
> On Wed, Oct 13, 2010 at 9:12 AM, Didar Hossain <didar.hossain at gmail.com> wrote:
>> Package: lighttpd
>> Version: 1.4.28-1
>> Severity: normal
>> File: /etc/lighttpd/conf-available/15-fastcgi-php.conf
>>
>>
>> In squeeze, while getting RoundCube to work under lighttpd, I enabled fastcgi-php
>> with lighty-enable-mod. However, I could not get it to work and instead received
>> HTTP 403 (Forbidden) errors.
>>
>> After, going off on a totally different tangent, I finally noticed that the
>> 15-fastcgi-php file was missing a line present in other such files -
>> "server.modules" directive.
>>
>> Adding the following fixes the issue -
>>
>>        server.modules += ( "mod_fastcgi" )
>
> You should enable both fastcgi and fastcgi-php, as modules can't be
> loaded twice the modules line can't be copied to the other file.

Yes, indeed it works now.

It would be nice if a comment regarding this requirement could be added
to the said file.

Looking in the "lighty-enable-mod" there is some code about module dependency
checking, but, I am not able to understand its working details.

Regards,
Didar





More information about the pkg-lighttpd-maintainers mailing list