Re: [phpldapadmin] phpldapadmin looks broken in PHP 5 >= 5.5
Javi Legido <[email protected]> Wed, 4 Sep 2013 13:00:59 +0200
| Newsgroups | gmane.comp.ldap.davedap |
|---|---|
| Message-ID | <CAJZVD0csKOb7GgT6CxitgBKxw7LoxVc3NryJy56d-f9G1C7aiw@mail.gmail.com> |
Looks like Michael Laccetti already submitted a fix: https://sourceforge.net/u/nihilisticz/phpldapadmin/ci/7e53dab990748c546b79f0610c3a7a58431e9ebc/ On 19 August 2013 12:35, Javi Legido <[email protected]> wrote: > 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 ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk ______________________________________ phpLDAPadmin development mailing list. To unsbuscribe: https://lists.sourceforge.net/lists/listinfo/phpldapadmin-devel http://phpldapadmin.sourceforge.net/