xubuntu 13.10 Saucy : lighttpd + phpmyadmin : post-installation status 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
phpmyadmin (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
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/
As a workaround I created the lighttpd configuration with the following content :
<code>
server.modules += ( "mod_alias")
alias.url += ( "/phpmyadmin" => "/usr/share/
$HTTP["url"] =~ "^/phpmyadmin" {
# Allowed IP addresses, this is a regexp : (127.0.
$HTTP[
}
}
# Directory protection
$HTTP["url"] =~ "^/phpmyadmin/
url.access-deny = ("")
}
</code>
And the installation with apt-get install phpmyadmin went successful.
Thank you for checking,
best regards,
Fred
sorry, attaching missing term.log
Fred