Hi for the context, I installed this
pecl install https://packages.couchbase.com/clients/php/couchbase-4.0.0.tgz
on MacBook Air M1
then when i check “php” on terminal, this displays
Warning: PHP Startup: Unable to load dynamic library 'couchbase.so' (tried: /opt/homebrew/lib/php/pecl/20210902/couchbase.so (dlopen(/opt/homebrew/lib/php/pecl/20210902/couchbase.so, 0x0009): tried: '/opt/homebrew/lib/php/pecl/20210902/couchbase.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e'))), /opt/homebrew/lib/php/pecl/20210902/couchbase.so.so (dlopen(/opt/homebrew/lib/php/pecl/20210902/couchbase.so.so, 0x0009): tried: '/opt/homebrew/lib/php/pecl/20210902/couchbase.so.so' (no such file))) in Unknown on line 0
I need help because I’m stuck here, thanks.