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.
我已经通过 pecl 为 php 安装了 YAML 库。我将扩展名添加到 php.ini 文件中。我可以看到它已加载,并通过 phpinfo() 启用。
yaml LibYAML Support enabled Module Version 1.1.0-dev LibYAML Version 0.1.3
但是,当我在我的 php 代码中使用 yaml_parse() 时,它会出现一个未找到函数的致命错误。
有人对可能发生的事情有任何想法吗?
谢谢你,
您是否在 CLI 中安装了扩展程序,而不是在 webserver 配置中,反之亦然?