Public bug reported:
When installing phpMyAdmin on top of lighttpd, package configuration
exits with status 2 :
dpkg: error processing phpmyadmin (--configure):
subprocess installed post-installation script returned error exit status 2
Processing triggers for libc-bin ...
Errors were encountered while processing:
phpmyadmin
Further deinstallation with apt-get remove also fails.
Possible solution ?
It seems the following configuration file is missing when the user is prompted
to select the HTTP server on which phpmyadmin is running :
/etc/lighttpd/conf-available/50-phpmyadmin.conf
As a workaround I created the lighttpd configuration with the following content
:
<code>
server.modules += ( "mod_alias")
alias.url += ( "/phpmyadmin" => "/usr/share/phpmyadmin" )
$HTTP["url"] =~ "^/phpmyadmin" {
# Allowed IP addresses, this is a regexp : (127.0.0.1|127.0.0.2)
$HTTP["remoteip"] !~ "(127.0.0.1)" {
url.access-deny = ("")
}
}
# Directory protection
$HTTP["url"] =~ "^/phpmyadmin/libraries" {
url.access-deny = ("")
}
</code>
And the installation with apt-get install phpmyadmin went successful.
Thank you for checking,
best regards,
Fred
** Affects: phpmyadmin (Ubuntu)
Importance: Undecided
Status: New
** Tags: lighttpd phpmyadmin
** Attachment added: "apt history"
https://bugs.launchpad.net/bugs/1300038/+attachment/4054918/+files/history.log
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1300038
Title:
xubuntu 13.10 Saucy : lighttpd + phpmyadmin : post-installation status
2
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/phpmyadmin/+bug/1300038/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs