【问题标题】:Mongo driver not working after update PHP 5.3 to 5.4将 PHP 5.3 更新到 5.4 后 Mongo 驱动程序无法正常工作
【发布时间】:2013-02-24 03:42:33
【问题描述】:

我已经安装了 PHP-MCRYPT 包,所以它会自动将我的 PHP 从 5.3 更新到 5.4,现在 Mongo 驱动程序没有加载。 有时会出现这个错误:

PHP startup mongo: Unable to initialize module

我应该更新 mongo 驱动程序吗?如何?我在 Godaddy 中运行 VPS CentOS 6。

【问题讨论】:

    标签: php apache mongodb centos centos6


    【解决方案1】:

    您可能需要重新安装 PHP mongo driver from PECL。试试看,让我知道你的进展如何。

    【讨论】:

    • 我尝试“pecl install mongo”,但它说已经安装并且当前版本为 1.3.4
    • 卸载 mongo 后我重新安装了它,现在一切正常,谢谢!
    猜你喜欢
    • 2018-02-05
    • 1970-01-01
    • 2021-12-21
    • 2017-06-17
    • 1970-01-01
    • 2020-06-16
    • 2018-03-08
    • 2013-06-08
    • 1970-01-01
    相关资源
    最近更新 更多