wp-local-docker-v2
wp-local-docker-v2 copied to clipboard
Unable to load dynamic library 'newrelic.so' error
Describe the bug
I get the following error on startup and in my console whenever I run a wp-cli command:
PHP Warning: PHP Startup: Unable to load dynamic library 'newrelic.so' (tried: /usr/lib/php/20190902/newrelic.so (/usr/lib/php/20190902/newrelic.so: cannot open shared object file: No such file or directory), /usr/lib/php/20190902/newrelic.so.so (/usr/lib/php/20190902/newrelic.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Steps to Reproduce
A good example of this behavior (although most wp-cli commands do the same, and the error shows up in startup in my 10updocker logs
logs for phpfpm):
- cd into any running site
- in the console, run
wp option get home
- See error
Expected behavior
I should just see the URL of my site running the above command, but the error above is prepended on a line above it.
Environment information
- Device: M1 Max MacBook
- OS: macOS 12.1
- Docker Desktop version: 4.5.0
- WordPress version: latest