Thanks Jackie. That did the trick. I was unaware that the alterations to 
httpd.conf were required, as I used the same approach to the LDAP dll as I have 
with Oracle and SQL Server dlls, which to date have not required an entry into 
httpd.conf.

Thanks again,
Lisa

-----Original Message-----
From: mapguide-users [mailto:[email protected]] On Behalf 
Of Jackie Ng
Sent: Monday, 13 February 2017 9:19 PM
To: [email protected]
Subject: Re: [mapguide-users] MapGuide Open Source v3.1 - LDAP Fails to Load

MGOS 3.1 comes bundled with PHP 5.6.23, so you've copied in the wrong dlls

At this point, I think you're better off reinstalling 3.1 and removing whatever 
dlls you put under System32/SysWOW64

Once you have a clean slate 3.1 install, you want to edit 
$YOURMAPGUIDEINSTALL\Web\Apache24\conf\httpd.conf and add the following lines 
after the first batch of LoadFile statements

# Required for php_ldap extension to work LoadFile "C:/Program 
Files/OSGeo/MapGuide/Web/Php/libeay32.dll"
LoadFile "C:/Program Files/OSGeo/MapGuide/Web/Php/ssleay32.dll"
LoadFile "C:/Program Files/OSGeo/MapGuide/Web/Php/libsasl.dll"

These 3 dlls are what php_ldap.dll depends on and putting those lines in 
httpd.conf will make sure these dlls are pre-loaded as Apache httpd starts up.

Then if you open a URL to a PHP script whose content is:

<?php
phpinfo();
?>

You should then see the ldap extension being listed as loaded and enabled.

Hope that helps.

- Jackie



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/MapGuide-Open-Source-v3-1-LDAP-Fails-to-Load-tp5307623p5307694.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapguide-users

_______________________________________________
mapguide-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to