Unable to load dynamic library 'ldap' in MacOS

61 views Asked by At

I reinstalled php with brew in Macos:

brew reinstall [email protected]

In php.ini I found out this line and removed (;):

extension=ldap

As I restarted php service brew, when I:

php -i | grep extension_dir

I get this error:

PHP Warning:  PHP Startup: Unable to load dynamic library 'ldap' (tried: ....

It seems ldap is not installed (I was expecting brew to install it).

How can I overcome with this problem in Macos?

0

There are 0 answers