Uploaded image for project: 'Couchbase PHP client library'
  1. Couchbase PHP client library
  2. PCBC-167

Got this error "undefined symbol: php_json_encode in Unknown on line 0" in PHP when trying to use client library v1.1.1


    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Won't Fix
    • Affects Version/s: 1.1.1
    • Fix Version/s: None
    • Component/s: library
    • Security Level: Public
    • Labels:
    • Environment:
      CeontOS 5.6
      PHP 5.2.17
      Couchabse 1.8


      Installed fresh v1.1.1 client lib to production server and got this:
      PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/couchbase.so' - /usr/lib64/php/modules/couchbase.so: undefined symbol: php_json_encode in Unknown on line 0

      I already had this error, and it was fixed with loading lib after json lib. But now it not helped. It still throwing error even if couchbase.so loading after json.so

      No reviews matched the request. Check your Options in the drop-down menu of this sections header.


        creotiv Andrey Nikishaev created issue -
        trond Trond Norbye made changes -
        Field Original Value New Value
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Won't Fix [ 2 ]
        brett19 Brett Lawson made changes -
        Workflow jira [ 23222 ] Couchbase SDK Workflow [ 44374 ]


          • Assignee:
            ingenthr Matt Ingenthron
            creotiv Andrey Nikishaev
          • Votes:
            0 Vote for this issue
            1 Start watching this issue


            • Created:

              Gerrit Reviews

              There are no open Gerrit changes