Error when installing PHP SDK on macOS

I could even use Couchbase with my current php 7.1.6 if allowed. But it won’t work. So the problem doesn’t come from pecl nor from the php 7.2 installation.

I’m a macOS client developer for 20 years, I’m not a system expert but usually I install and configure everything with Terminal. MySQL and php are working since the first easy and quick installation.

The Couchbase official support page say to just run these commands
brew install libcouchbase
curl -s https://php-osx.liip.ch/install.sh | bash -s 7.2
pecl install couchbase

Then you say toI should rather use
sudo pecl install couchbase

So the official support information are not correct. You are very kind but the Couchbase company organisation is not so professional.

On Mac you run an installer and everything works at the first try. Couchbase doesn’t belong to this philosophy. One year ago I attended to a Couchbase conference, then I tried to install Couchbase and I spent one week in pain and frustrations, unsuccessfully. This week I decided to dedicate a few hours more to install Couchbase and give it a chance, but again I’m here stuck for 3 days struggling myself.

Couchbase engineers/management should avoid this bottleneck to the new clients. If they cut potential customers at the entrance they lose business. There should be an installer, double click and go. No more. That’s the macOS philosophy.
A software company can’t say “If it doesn’t work on your system it’s up to you”. A software company should sell a product that always works on that system.
I stay with my SQL/PHP/JavaScript system. If this is the beginning I won’t imagine the future. Thank you. You are kind. It’s the product and the company philosophy that don’t work. Couchbase is probably made for top level system engineers only.