Dependencies incorrect when two versions of php installed
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://
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.
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 :)