Hi! I have some problem with installation of LDAP and AD authentication plugin. Error looks like "LDAP extension is not available. Please install or enable the php-ldap
extension on your web server". In several guides i watched that i need to activate "extension=php_ldap" in php.ini, but i cant found it in my directories. osTicket running on Ubuntu 23 server with Apace included. !
osTicket 1.15.4 Active Directory LDAP connection error
Apparently the PHP version that the site is running does not have the php-ldap extension installed/enabled.
Cheers.
Ubuntu this should fix you:
apt-get install php-ldap
ntozier did that, restarted apache, still didnt work
KevinTheJedi how can i enable php-ldap?
Depends on your server and setup. You should be able to google "How to install php-ldap extension on Ubuntu23" and get appropriate results.
Cheers.
Badbear133 did that, restarted apache, still didnt work
That might not have been the right package. It may depend on the version of linux and php that you are currently running. ie. if you are running PHP7 apt-get install php7-ldap
if you are running PHP8 apt-get install php8.0-ldap
if you are running PHP 8.1 -- well you shouldn't be since osTicket doesn't support it yet - apt-get install php8.1-ldap
I don't run Ubuntu, but this page might help:
https://packages.ubuntu.com/search?suite=default§ion=all&arch=any&keywords=php-ldap&searchon=names
Badbear133 Ubuntu 23 server
23? the latest LTS release is 20. 22 is LTS Beta. I'm not sure how you would have 23.