Dependencies incorrect when two versions of php installed

Bug #63223 reported by Tero Karvinen
4
Affects Status Importance Assigned to Milestone
phpldapadmin (Ubuntu)
Invalid
Undecided
Daniel Hahler

Bug Description

Binary package hint: phpldapadmin

To reproduce:
0) Have php5 installed
1) $ sudo apt-get install slapd phpldapadmin
The following extra packages will be installed: php4-ldap
2) http://localhost/phpldapadmin/
Should show phpldapadmin login screen.

Actually, it shows an error message:
" Error
Your install of PHP appears to be missing LDAP support. Please install LDAP
support before using phpLDAPadmin. (Dont forget to restart your web server afterwards)"

To bypass bug:
$ sudo apt-get install php5-ldap
$ sudo /etc/init.d/apache2 restart

Analyses:
Apt thinks dependencies are satisfied when both php4 and php4-ldap are installed. If php5 is installed too, apache2 uses that by default. It does not work, because php5-ldap was not installed as a dependency.

Tested with 'DESC /etc/lsb-release': "Ubuntu 6.06.1 LTS"'; '$ dpkg --list php\* phpldapadmin slapd apache2': php4 4.4.2-1build1, php4-ldap 4.4.2-1build1, php5 5.1.2-1ubuntu3.2, php5-ldap 5.1.2-1ubuntu3.2, phpldapadmin 0.9.8.3-1, slapd 2.2.26-5ubuntu2.1, apache2 2.0.55-4ubuntu2.1.

Revision history for this message
Daniel Hahler (blueyed) wrote :

I think this bug report is invalid: if you would have removed php4 before, it probably had worked as expected.
Please feel free to change the status, if you think I did not understand the issue :)

Changed in phpldapadmin:
assignee: nobody → blueyed
status: New → Invalid
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.