Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 1.8.x

couchbase.so: undefined symbol: php_json_encode in Unknown on line 0

1 reply [Last post]
  • Login or register to post comments
Tue, 03/20/2012 - 21:00
wangfenjin
Offline
Joined: 03/20/2012
Groups: None

I am sure i have success install the c library and have the couchbase.so in my dir.

I also modify the php.ini . but got the problem. Plz help me.

[root@localhost phptest]# php -i |grep couchbase
PHP Warning: PHP Startup: Unable to load dynamic library '/home/wfj/wfj/phptest/php-ext-couchbase/couchbase.so' - /home/wfj/wfj/phptest/php-ext-couchbase/couchbase.so: undefined symbol: php_json_encode in Unknown on line 0

Top
  • Login or register to post comments
Thu, 03/22/2012 - 05:18
creotiv
Offline
Joined: 11/14/2011
Groups: None

You need to load Couhbase php module after json php module.

most simple fix is to go to /etc/php.d/json.ini and add "extension=couchbase.so" there. This will make it load only after json.

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker