Ubuntu 14.04 LTS Fatal error
Bug #1319144 reported by
Christopher Collins
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
phpldapadmin (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
After installing phpldapadmin on my Ubuntu 14.04 LTS server I get this error when trying to load the web page <my-site>
Fatal error: Cannot redeclare password_hash() in /usr/share/
Feel free to contact me for more information. I'll let you have a look at my server if you want.
To post a comment you must log in.
This problem has been fixed upstream. It can be fixed in the Ubuntu packages in three different ways:
1) Merge one patch selectively
Merge e673df3b ("Changed password_hash to pla_password_ hash"). However, the last part of the patch dealing with sha512 has to be removed or it will not apply to 1.2.2. I tested this approach and it fixes this problem.
2) Merge two patches
Merge e673df3b ("Changed password_hash to pla_password_hash") and 21959715 ("SF Feature #3509651 - Add support for SHA512 with OpenLDAP"). I did not test this myself, but it should work.
3) Upgrade to 1.2.3
Not sure if this is an option, but 1.2.3 would solve this problem.