zoukankan      html  css  js  c++  java
  • 在php添加mongo过程中出现的mongo.so: > undefined symbol: php_json_encode in Unknown on line 0. After installation mongo driver for php 的错误

    my system is centos 6.3. I got the problem solved.

    vim /etc/php.ini
    

    then add

    extension=json.so
    

    before

    extension=mongo.so
    

    at last restart the php-fpm and nginx(apache)

    service php-fpm restart
    service ngxin restart
    

    It's OK!

    用知识的力量武装,把生活的绚烂点亮!
  • 相关阅读:
    iOS
    iOS
    iOS
    iOS
    iOS
    iOS
    iOS
    iOS
    iOS
    iOS
  • 原文地址:https://www.cnblogs.com/try-better-tomorrow/p/4921237.html
Copyright © 2011-2022 走看看