[mapguide-users] MapGuide Open Source v3.1 - LDAP Fails to Load

Jackie Ng jumpinjackie at gmail.com
Mon Feb 13 03:18:48 PST 2017


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.


More information about the mapguide-users mailing list