Bug 1374431 - phpldapad does not work with php >= 5.5
Summary: phpldapad does not work with php >= 5.5
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: phpldapadmin
Version: el6
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Dmitry Butskoy
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-08 16:10 UTC by Victoriano Giralt
Modified: 2016-10-09 14:48 UTC (History)
1 user (show)

Fixed In Version: phpldapadmin-1.2.3-2.el6
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-09 14:48:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Victoriano Giralt 2016-09-08 16:10:30 UTC
Description of problem:
There is function name collision between PHP from 5.5 on and phpLDAPadmin: password_hash that was reported and solved in bug 974928 three years ago for Fedora 19 and 20 but has not appeared yet in EPEL.

Version-Release number of selected component (if applicable):
1.2.3-1.el6

How reproducible:
Always

Steps to Reproduce:
1. Update phpldapadmin to 1.2.3-1.el6 and php to anything from 5.5
2. Try to use /phpldapadmin via browser

Actual results:
PHP Fatal error:  Cannot redeclare password_hash() in /usr/share/phpldapadmin/lib/functions.php on line 2236

Expected results:
phpLDAPadmin start page

Additional info:
There is a patch and a new package in Fedora from 19 on.

Comment 1 Victoriano Giralt 2016-09-08 16:15:54 UTC
This error also manifests itself, at least with php 5.6:

preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead

Comment 2 Fedora Update System 2016-09-23 23:46:58 UTC
phpldapadmin-1.2.3-2.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-bcea25fbda

Comment 3 Fedora Update System 2016-10-09 14:48:13 UTC
phpldapadmin-1.2.3-2.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.