# \#laminas-ldap

**URL:** https://discourse.laminas.dev/tag/laminas-ldap/112.md

[Latest](https://discourse.laminas.dev/latest.md) · [Categories](https://discourse.laminas.dev/categories.md) · [Tags](https://discourse.laminas.dev/tags.md)

---

## [Invalid credentials; getLastError: could not call ldap\_get\_option because LDAP resource was not of type resource](https://discourse.laminas.dev/t/invalid-credentials-getlasterror-could-not-call-ldap-get-option-because-ldap-resource-was-not-of-type-resource/3549)

<div class="topic-metadata">

**Author:** [@pasglop](https://discourse.laminas.dev/u/pasglop)\
**Replies:** 2\
**Last updated:** [November 25, 2023, 10:49am UTC](https://discourse.laminas.dev/t/invalid-credentials-getlasterror-could-not-call-ldap-get-option-because-ldap-resource-was-not-of-type-resource/3549 "2023-11-25T10:49:12Z")

</div>

Hi, I would like to set up a simple Ldap authentication system using, as indicated in the doc : use Laminas\\Authentication\\AuthenticationService; use Laminas\\Authentication\\Adapter\\Ldap as LdapAdapter; public function…

---

## [Installing version 2.17.0 of laminas-ldap fails](https://discourse.laminas.dev/t/installing-version-2-17-0-of-laminas-ldap-fails/3213)

<div class="topic-metadata">

**Author:** [@BeckeBauer](https://discourse.laminas.dev/u/BeckeBauer)\
**Replies:** 7\
**Last updated:** [February 24, 2023, 4:57pm UTC](https://discourse.laminas.dev/t/installing-version-2-17-0-of-laminas-ldap-fails/3213 "2023-02-24T16:57:39Z")

</div>

After running composer require laminas/laminas-ldap I get the following message Cannot use laminas/laminas-ldap's latest version 2.17.0 as it requires php ~8.0.0 || ~8.1.0 || ~8.2.0 which is not satisfied by your platfo…
