[phpldapadmin] phpldapadmin looks broken in PHP 5 >= 5.5

Javi Legido <[email protected]> Mon, 19 Aug 2013 12:35:28 +0200
Newsgroups gmane.comp.ldap.davedap
Message-ID <CAJZVD0e2uZ2TxugZT2WRvCjKAkxPdpN7rYKBO7mqUKAZNfe95w@mail.gmail.com>
Hi there.

One example:

Fatal error: Cannot redeclare password_hash() in
/srv/www/phpldapadmin-1.2.3/lib/functions.php on line 2236

Reason:

Built-in function since PHP 5 >= 5.5:

http://php.net/manual/en/function.password-hash.php

Fix:

cd /path/to/phpldapadmin
sudo sed -i 's/password_hash/password_hash_custom/g' *

Now I get a lot of:

Deprecated: preg_replace(): The /e modifier is deprecated, use
preg_replace_callback instead in
/srv/www/phpldapadmin-1.2.3/lib/functions.php on line 2568

My question is: there's any hotfix in place to prevent those errors?

Thanks for your wonderful work.

PD: where should I fill the bugs now?

Javier

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
______________________________________
phpLDAPadmin development mailing list.
To unsbuscribe: https://lists.sourceforge.net/lists/listinfo/phpldapadmin-devel
http://phpldapadmin.sourceforge.net/