Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

unable to load ldap extension

未关闭
#128 4 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
azure, php, wordpress
领域
backend, cloud

调研方向

从链接的 WordPress PHP 扩展指南开始,使用 php82-ldap 重现步骤 1–7。检查 PHP 错误日志,确认其中显示 ldap.so 找不到 libldap.so.2,同时确认将其复制到 /home/site/ext/ 是否会改变结果。LDAP 扩展在没有启动警告的情况下加载即表示完成。

由索引模型根据 Issue 内容生成。

描述

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

主要语言
HCL
星标
139
派生
84
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Azure/wordpress-linux-appservice 的其他 Issue

查看 Azure/wordpress-linux-appservice 的全部 Issue

相似的 Issue

更多 Backend & API Design Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。