ldap_set_options() not working but environment variables do work