Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-7054

Simply non-working instructions

    XMLWordPrintable

Details

    • DOC-2020-S14-Jul26
    • 2

    Description

      First of all the only package that works on Ubuntu 18.04.4 LTS is
      sudo pecl install https://packages.couchbase.com/clients/php/couchbase-3.0.3.tgz
      (version 3.0.0 or 3.0.2 will simply not install!)

      Second of all (after the adding 'extension=couchbase.so' as LAST in the extension list)
      php --ini
      PHP Warning: PHP Startup: Unable to load dynamic library 'couchbase.so' (tried: /usr/lib/php/20190902/couchbase.so (/usr/lib/php/20190902/couchbase.so: undefined symbol: json_globals),

      Meaning the 'extension=json.so' should be prior to 'extension=couchbase.so' ... which can be added manually yes but leading to a new warning:
      php --ini
      PHP Warning: Module 'json' already loaded in Unknown on line 0

      Which can be erased by dirty hack of removing this file
      /etc/php/7.4/cli/conf.d/20-json.ini
      ... or probably more preferably by creating a couchbase.ini specific script with higher number instead of actual extension directive on main file - e.g.
      /etc/php/7.4/cli/conf.d/22-couchbase.ini

      So I have used my whole evening trying to follow substandard documentation... Not too happy. Way too many would have just tried something else for a DB... Just my 2 cents on the matter

      Reporter: Teemu Otala
      E-mail: teemu.otala@gmail.com

      Attachments

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

        Activity

          People

            richard.smedley Richard Smedley
            docsite-collector Docs Site Collector
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty