Hello,
I have RHEL5 and did a clean bitrock 4.5.1g install, everything seemed to go just fine.
1) I logged in as admin and configured openLdap in SugarCRM (using values I have gotten to work just fine in other apps that use my openLdap install).
2) I had to do a yum install php-ldap.i386 which went fine.
3) I located ldap.so in the /usr/lib/php/modules dir.
4) I moved that ldap.so to the /opt/sugarcrm/php/lib/php/extensions/no-debug-non-zts-20020429/ (as per the extension dir= in /opt/sugarcrm/php/etc/php.ini).
5) I added 'extension=ldap.so' to the /opt/sugarcrm/php/etc/php.ini (at the bottom right after the extension=json.so liine.
5) I restarted the SugarCRM workstation.
I still get 'LDAP Error: Extensions not loaded' when I try to login.
Could this be a php version issue given what I explain was installed above...and this is a very clean install...nothing else has been installed on this box before or after SugarCRM.
Do I need to specifically load any ldap service in RHEL services?
Please help! Thanks in advance!
[edit] I notice that the php version installed is 4.4.3 and when I did a yum I would suspect I got the latest version of php-ldap. would this cause a problem?[/edit]
[edit]
The following is the error I get the apache error log:
[/edit]Code:PHP Warning: Unknown(): Unable to load dynamic library '/opt/sugarcrm/php/lib/php/extensions/no-debug-non-zts-20020429/ldap.so' - /opt/sugarcrm/php/lib/php/extensions/no-debug-non-zts-20020429/ldap.so: undefined symbol: OnUpdateLong in Unknown on line 0
[edit] I believe the problem may have something to do with the version of php-ldap which is 5.1.6 (I believe) and I found a post that said that OnUpdateLong is only found in version 5.x of php. Since the Apache error log references OnUpdateLong I am thinking a version mis-match may be the issue?? I have no idea how to proceed?? Should I update the php loaded by SugarCRM?? -or- How do I get my hands on a compatible version of ldap.so and other necessary supporing files? Here are the files installed according to the RHEL5 Message.log:
Nov 30 06:52:26 itsa2 Installed: php-common.i386 5.1.6-15.el5
Nov 30 06:52:26 itsa2 Installed: php-ldap.i386 5.1.6-15.el5[/edit]


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks