Fastcgi is not enabled when phpMyAdmin is installed to work with Lighttpd

Bug #283801 reported by Gustavo Narea
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
phpmyadmin (Debian)
Fix Released
Unknown
phpmyadmin (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

Binary package hint: lighttpd

I installed phpMyAdmin and I choose to configure it to work with Lighttpd while apt-get was installing it, however it didn't enable Lighttpd's module "fastcgi", which is obviously required by phpMyAdmin.

I was getting 403-Forbidden errors until I enabled this module.

Please, enable it when phpMyAdmin is configured to work with Lighttpd.

(I'm running Hardy)

Related branches

Revision history for this message
Ralf Jung (ralfjung-e) wrote :

I can confirm this for Ubuntu 9.04 - after installing lighttpd and phpmyadmin, I had to manually enable that module with "sudo lighttpd-enable-mod fastcgi" for phpMyAdmin to work.

Daniel Hahler (blueyed)
Changed in lighttpd (Ubuntu):
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
2501 (bugs-launchpad-net-jukan) wrote :

Thank you!
I got same error and Ralf Jung pointed me in the right direction.

apt-get install phpmyadmin lighttpd php5-cgi
lighty-enable-mod fastcgi
/etc/init.d/lighttpd restart

http://yourserver/phpmyadmin/
http://yourserver/phpmyadmin/scripts/setup.php

(default auth
user: admin
pass: *
^^^^^^^ yes, password is one asterisk)
check /etc/phpmyadmin/htpasswd.setup to change the password.

confirmed on ubuntu 8.04.2 hardy x86_64
source of the problem:
- package phpmyadmin does not suggest/install php5-cgi
- dpkg-reconfigure phpmyadmin does not lighty-enable-mod fastcgi

root@node1:~# dpkg -l | egrep "phpmyadmin|lighttpd"
ii lighttpd 1.4.19-0ubuntu3.1 A fast webserver with minimal memory footpri
ii phpmyadmin 4:2.11.3-1ubuntu1.1 Administrate MySQL over the WWW

Michal Čihař (nijel)
affects: lighttpd (Ubuntu) → phpmyadmin (Ubuntu)
affects: lighttpd (Debian) → phpmyadmin (Debian)
Changed in phpmyadmin (Debian):
status: Unknown → New
Changed in phpmyadmin (Debian):
status: New → Fix Released
Michal Čihař (nijel)
Changed in phpmyadmin (Ubuntu):
status: Triaged → 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.