Fixed missing PHP LDAP errors (Issue #8)