title: Can't get LDAP functions to load in PHP
body: <p>When attempting to use <a href="http://php.net/ldap_connect" rel="nofollow"><code>ldap_connect()</code></a>, I get this error:</p>
  
  <blockquote>
    <p>Fatal error: Call to undefined function ldap_connect()</p>
  </blockquote>
  
  <p>I've recompiled php with the LDAP apache module enabled, and I've edited my php.ini file,  too and uncommented:</p>
  
  <pre><code>extension=php_ldap.dll
  </code></pre>
  
  <p>I'm on Red Hat Linux, php 5.3.10, apache 2.2. Any ideas?</p>
  
  <p><strong>Loaded Apache Modules: (contains *util_ldap*)</strong></p>
  
  <p>core mod_authn_file mod_authn_default mod_authz_host mod_authz_groupfile mod_authz_user mod_authz_default mod_auth_basic mod_include mod_filter util_ldap mod_log_config mod_logio mod_env mod_expires mod_headers mod_setenvif mod_version mod_proxy mod_proxy_connect mod_proxy_ftp mod_proxy_http mod_proxy_scgi mod_proxy_ajp mod_proxy_balancer mod_ssl prefork http_core mod_mime mod_status mod_autoindex mod_asis mod_info mod_suexec mod_cgi mod_negotiation mod_dir mod_actions mod_userdir mod_alias mod_rewrite mod_so mod_auth_passthrough mod_bwlimited mod_fpcgid mod_php5 mod_security </p>
  
  <p><strong>Apache Protocols: (contains: <em>ldap</em>)</strong></p>
  
  <p>dict, file, ftp, ftps, gopher, http, https, imap, imaps, ldap, ldaps, pop3, pop3s, rtsp, smtp, smtps, telnet, tftp </p>