LightTPD FastCGI uses wrong PHP version

Bug #70384 reported by Noah Medling
2
Affects Status Importance Assigned to Milestone
lighttpd (Debian)
Fix Released
Unknown
lighttpd (Ubuntu)
Fix Released
Low
Soren Hansen

Bug Description

Binary package hint: lighttpd

The file /etc/lighttpd/conf-available/10-fastcgi.conf (part of lighttpd) refers to /usr/bin/php4-cgi, effectively making only PHP4 work with FastCGI by default (and PHP5 produces error messages). Changing this to /usr/bin/php-cgi (this is what 10-cgi.conf already points to) would run either version, regardless of which was actually installed.

I don't know what the proposed solution would do if both were installed, but I suppose if someone had a reason to install both, he/she would also know how to configure FastCGI or at least where to look for documentation.

Lukas Fittl (lfittl)
Changed in lighttpd:
status: Unconfirmed → Confirmed
importance: Undecided → Low
Changed in lighttpd:
status: Unknown → Unconfirmed
Changed in lighttpd:
status: Unconfirmed → Fix Released
Revision history for this message
Kai Kasurinen (kai-kasurinen) wrote :

Thanks for the bug report.

I'm closing this bug because it has been fixed in Feisty.

lighttpd (1.4.13-6ubuntu1) feisty; urgency=low

  * Merge from debian unstable, remaining changes:
    - Replace Depends: on perl with Depends: on libterm-readline-perl-perl

lighttpd (1.4.13-6) unstable; urgency=low

  * debian/lighttpd.postinst: change only permission for /var/log/lighttpd/

lighttpd (1.4.13-5) unstable; urgency=low

  * debian/control:
   + perl added to dependencies (closes: #396629)
  * debian/conf-available/10-fastcgi.conf:
   + /usr/bin/php4-cgi changed to /usr/bin/php-cgi (closes: #397142)
  * debian/lighttpd.postinst: fix permission of /var/log/lighttpd
    (closes: #398834)
  * debian/lighty-enable-mod - fixed bug with undefined values (closes: #397493)

Changed in lighttpd:
assignee: nobody → shawarma
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.