我正在尝试在我的 Mac 上安装 Trader 扩展程序。我相信安装已正确完成,但似乎无法使用它们。这是我来自终端的反馈
sudo pecl install trader
pecl/trader is already installed and is the same as the released version 0.4.0
install failed
基于它表明我已经安装了它。但这是我尝试使用一个时得到的结果
Uncaught Error: Call to undefined function trader_cci()
有人对我可能错过的步骤有提示吗?
提前致谢!
最佳答案
您是否在 php.ini 文件中包含扩展名?您需要在正确的 ini 中添加以下行(取决于您是在命令行上还是通过 FPM 使用它)以告诉 PHP 它需要加载已安装的扩展
extension=trader.so
关于php - 使用 PHP Trader 函数的问题 : Call to undefined function trader_ma(),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48725411/
相关文章:
spring - @Transactional(read-only = true) 的目的是什么
python-3.x - 在 XGBoost 中应用增量学习进行分类设置时出错(python)
javascript - 如何从提供 NET::ERR_CERT_AUTHORITY_INVALID
amazon-web-services - AWS API 网关响应正文模板映射(foreach)
json - 如何在 vuejs 中将 JSON 对象发布到 Web 服务器?
google-chrome-extension - 将 Google Chrome 扩展程序限制为选