On later versions of MacOS, we have seen issues involving "System Integrity Protection" not allowing user to install extensions without escalated permissions. Some blog post that talks about this: http://www.devinbaldwin.com/2018/09/27/how-to-install-xdebug-on-a-new-mac-including-mojave/
If you don't want to go that route, you might want to look into installing PHP extensions via homebrew. On Sun, Aug 18, 2019 at 8:30 AM Frederik Feys <[email protected]> wrote: > > Hi everyone! > > I installed gRPC with PECL on a mac running Mojave (latest OS). > > I get this error: > >> PHP Warning: PHP Startup: Unable to load dynamic library >> '/usr/lib/php/extensions/no-debug-non-zts-20160303/grpc.so' - >> dlopen(/usr/lib/php/extensions/no-debug-non-zts-20160303/grpc.so, 0x0009): >> dlopen(): file not found: >> /usr/lib/php/extensions/no-debug-non-zts-20160303/grpc.so in Unknown on >> line 0 > > > In Pear, the extension lib is set to > /usr/lib/php/extensions/no-debug-non-zts-20160303. > So I expect it to install the gRPC extension there. Indeed the dir shows no > .so file. > > > What can I do to install this extension in my php environment? > > > Thank you, > > Fred > > -- > You received this message because you are subscribed to the Google Groups " > grpc.io" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/grpc-io/c48db803-c433-4dfe-829c-a4529deaf2ba%40googlegroups.com > <https://groups.google.com/d/msgid/grpc-io/c48db803-c433-4dfe-829c-a4529deaf2ba%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CAEteGX1uHMiwu%2BPd6taaA8%2B357bcWrjtPVcueGFY_4aBqi1inw%40mail.gmail.com.
