we want to use XAMPP for Linux to publish a few simple PHP scripts. The scripts collect data from several Oracle DBs and provide users with a simple overview. Unfortunately we can't get the scripts working. We have activated OCI8 and it seems to be working correctly.
The error message is "httpd: getentry.c:35: ldap_first_entry: Assertion `( (ld)->ld_options.ldo_valid == 0x2 )' failed."
According to a post on bugs.php.net this error is due to Oracle using its own LDAP libraries, so PHP has to be configured with --with-ldap=(same oracle client path as with oci8) for PHP to work with Oracle LDAP. Using a local tnsnames.ora might solve this but is not our favoured solution.
Usually we would just change the option using ./configure --with-ldap=... but I couldn't find the tool, so I suppose it is not part of XAMPP (yes, I am a XAMPP-Noob ). Is there any simple way to change the library path for LDAP or will we have to go all the way and build our own LAMPP?