Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我一直试图让DocBlox在 Windows 上工作。我正在使用 PHP 5.3.9 版运行 wamp 服务器。我已经启用了 XSL 及其在 phpinfo 中的显示,如果我运行一个测试脚本,XSLTProcessor 是可用的。
我从 PEAR 安装了 DocBlox。它运行,但是我收到 XSL 编写器无法找到您的 XSLT 处理器的错误。
有任何想法吗?谢谢!
您收到的错误意味着 php 无法识别 xsl 扩展名。PHP 有一个单独的用于 CLI 和 web 的 ini 文件;我假设你只为 apache 启用了 xsl 扩展。
您可以通过在命令提示符中执行 php -i 来验证这一点,并检查那里是否启用了 xsl 扩展。如果没有,则将您的 dll 添加到 WAMP 的正确配置中。