-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unable to load ldap extension #128
Comments
@annndddy - did you check if its dependencies are correctly deployed? I will check from my end too and keep you posted on the resolution. |
@rabollin the dependencies is installed at the folder /usr/lib/ and from the guide step 5, that folder are non-persistent in nature and will be reset to the default state when the container is restarted. so i also try to copy the liblber.so.2 to the /home/site/ext/ and added liblber.so.2 to the ini file am i doing it wrong or any way to deployed the dependencies correctly? thanks |
any updates on this issues? thanks |
The exact same situation is happening on my side, @annndddy hav you found a solution or an alternative? |
i follow this to add the ldap extension
https://github.com/Azure/wordpress-linux-appservice/blob/main/WordPress/wordpress_adding_php_extensions.md
in step 3 the version i use is php82-ldap
after finishing step 1-7, the ldap.so is failed to load
it show in error log
PHP Warning: PHP Startup: Unable to load dynamic library '/home/site/ext/ldap.so' (tried: /home/site/ext/ldap.so (Error loading shared library libldap.so.2: No such file or directory (needed by /home/site/ext/ldap.so)), /usr/local/lib/php/extensions/no-debug-non-zts-20220829//home/site/ext/ldap.so.so (Error loading shared library /usr/local/lib/php/extensions/no-debug-non-zts-20220829//home/site/ext/ldap.so.so: No such file or directory)) in Unknown on line 0
i tried to copy the libldap.so.2 to the /home/site/ext/ folder too but no luck
thanks
The text was updated successfully, but these errors were encountered: