LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-31-2016, 10:30 AM   #1
loadedmind
Member
 
Registered: Sep 2003
Location: Texas
Distribution: Red Hat/CentOS
Posts: 302
Blog Entries: 4

Rep: Reputation: Disabled
phpldapadmin Fatal error: Call to undefined function ldap_explode_dn()


Hi all.

We recently upgraded our web server that was running phpldapadmin, among other things. We went from CentOS 5.5 to CentOS 6.7. This was a fresh installation, then an rsync of the pla2 directory (/var/www/html) from the old machine to the new. It actually worked for a little while. Then we restarted the machine and tried accessing it again. This is the entirety of the message we see from the web:

Code:
Fatal error: Call to undefined function ldap_explode_dn() in /var/www/html/pla2/lib/functions.php on line 2488
I noticed that on the new machine, comparing packages installed against the old one, we didn't have php-ldap installed. The old machine had php53-ldap.x86_64 and the new one had no mention of it from the output. So, I installed it yum install php-ldap

Same issue though. Within the config.php, I've verified, line-by-line, that they match between old and new machine. Perhaps I need to restart httpd after installing the new package or otherwise initialize settings after new package was installed?
 
Old 05-31-2016, 11:22 AM   #2
loadedmind
Member
 
Registered: Sep 2003
Location: Texas
Distribution: Red Hat/CentOS
Posts: 302

Original Poster
Blog Entries: 4

Rep: Reputation: Disabled
Nevermind. Fixed it. Apparently if you wait long enough after installing php-ldap, stuff starts working.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fatal error: Call to undefined function mysqli_connect() Manjaro fugitive90 Linux - Newbie 3 08-25-2015 06:08 PM
[SOLVED] Fatal error: Call to undefined function mysql_connect() bulletproof.rs Linux - Software 10 06-15-2011 09:15 AM
Fatal error: Call to undefined function imagecreatefromjpeg() jickson Slackware 3 05-18-2011 04:58 AM
Fatal error: Call to undefined function: gzinflate() Beauford-2 Slackware 2 12-07-2006 06:51 PM
Fatal error: Call to undefined function: mail() saeed Linux - Software 0 10-07-2003 03:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration