首页 > Web开发 > 详细

在php添加mongo过程中出现的mongo.so: > undefined symbol: php_json_encode in Unknown on line 0. After installation mongo driver for php 的错误

时间:2015-10-29 18:04:03      阅读:320      评论:0      收藏:0      [点我收藏+]

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!

 

在php添加mongo过程中出现的mongo.so: > undefined symbol: php_json_encode in Unknown on line 0. After installation mongo driver for php 的错误

原文:http://www.cnblogs.com/try-better-tomorrow/p/4921237.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!