php5-cli, php5-cgi, libapache2-mod-php5 to provide php5

Bug #126731 reported by Dulmandakh Sukhbaatar
2
Affects Status Importance Assigned to Milestone
php5 (Ubuntu)
Invalid
Undecided
Ubuntu Server

Bug Description

I've installed php5-cgi to run fast-cgi server. When I try to install some php applications, for example Squirrelmail or phpmyadmin, it's trying to install libapache2-mod-php5, and all these packages depend on php5 meta-package. How about providing php5 meta-package by php5-cli, php5-cgi and libapache2-mod-php5.

Changed in php5:
assignee: nobody → ubuntu-server
Revision history for this message
Soren Hansen (soren) wrote : Re: [Bug 126731] php5-cli, php5-cgi, libapache2-mod-php5 to provide php5

On Wed, Jul 18, 2007 at 09:44:25AM -0000, Dulmandakh Sukhbaatar wrote:
> I've installed php5-cgi to run fast-cgi server. When I try to install
> some php applications, for example Squirrelmail or phpmyadmin, it's
> trying to install libapache2-mod-php5, and all these packages depend
> on php5 meta-package. How about providing php5 meta-package by
> php5-cli, php5-cgi and libapache2-mod-php5.

Squirrelmail's Depends includes: libapache2-mod-php4 |
libapache-mod-php4 | php4 | php4-cgi | libapache2-mod-php5 |
libapache-mod-php5 | php5-cgi | php5

phpmyadmin's Depends includes: libapache2-mod-php5 | libapache-mod-php5
| php5-cgi | php5 | libapache2-mod-php4 | libapache-mod-php4 | php4 |
php4-cgi

I.e. neither of them should pull in libapache2-mod-php5 if php5-cgi is
already there, and a quick test here says that that is so.

Which version of Ubuntu are you on?

--
Soren Hansen
Ubuntu Server Team
http://www.ubuntu.com/

Revision history for this message
Dulmandakh Sukhbaatar (dulmandakh) wrote :

sorry I'm confused, it was phpldap admin.

Depends: apache2 | httpd, php5-ldap | php4-ldap, libapache2-mod-php5 | php5 | libapache2-mod-php4 | php4 (>= 4.1.0), debconf (>= 0.5) | debconf-2.0

Why should we add such big number of dependancies rather than just provide php5? This bug seems not related to php5, but phpldapadmin. I'll file this bug.

Revision history for this message
Henri Cook (henricook) wrote :

Can you explain this better for the rest of us? Soren's initial bug seemed fairly clear but Dulmandakh's comment is a bit confusing - a summary perhaps?

Revision history for this message
Ondřej Surý (ondrej) wrote :

Certainly not a bug in php5 packaging:
Package: php5
[...]
Depends: libapache2-mod-php5 (>= 5.2.1-0ubuntu1) | php5-cgi (>= 5.2.1-0ubuntu1), php5-common (>= 5.2.1-0ubuntu1)
[...]

Reason why libapache2-mod-php5 wants to be installed is that it's listed first in phpldap admin dependencies.

As a quick fix install php5 package.

Then dependencies of phpldap admin should be fixed.

Changed in php5:
status: New → Invalid
Revision history for this message
Dulmandakh Sukhbaatar (dulmandakh) wrote :

Yep. But it took some time to figure it out.

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.