• Resolved thetechnosage

    (@thetechnosage)


    My site is hosted on a cloudways server and the PHP-LDAP extension was not installed by default and the plugin was showing (Warning: PHP LDAP extension is not installed). However, even after installing the PHP-LDAP extension (confirmed by dpkg command), but the plugin still shows the warning. Is there anything else that needs to be done other than installing the package?

Viewing 1 replies (of 1 total)
  • Plugin Author Paul Ryan

    (@figureone)

    Cloudways probably runs multiple versions of PHP concurrently and you may have installed the php-ldap module for a version that isn’t being used by your web server. You might have to contact their support.

    That said, you can check which php modules are loaded with php -m, so php -m | grep ldap would show if the ldap module is loaded. However, sometimes the version of php running on the command line is different than the one loaded by the web server, so you may also want to compare version strings in php -v and in WordPress > Dashboard > Tools > Site Health > Info > Server > PHP version.

    Finally, the web server might have to be restarted to load newly installed php modules, e.g., sudo service apache2 restart.

    Hope that helps!

Viewing 1 replies (of 1 total)
  • The topic ‘Warning: PHP LDAP extension is not installed even after installing the package’ is closed to new replies.