PHP startup error: PHP Startup: Unable to load dynamic library

PHP Startup: Unable to load dynamic library '/usr/local/opt/php71-amqp/amqp.so' - dlopen(/usr/local/opt/php71-amqp/amqp.so, 9): image not found in <b>Unknown</b> on line <b>0</b><br />
[03-Aug-2019 10:10:19] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/opt/php71-mongodb/mongodb.so' - dlopen(/usr/local/opt/php71-mongodb/mongodb.so, 9): image not found in Unknown on line 0

 

I deleted on the mac version before installing php, again with a new version of php brew installed, and then the time to start php-fpm above error message. But this error does not affect the latest version being used.

Probably it means a dynamic load library and found none. This is because I have the previous version installed third-party libraries dynamically loaded, the system retains the place of the previous configuration file

By phpinfo php.ini find the directory, I mac save in: /usr/local/etc/php/7.1, there conf.d directory under the directory to save the file so the following error corresponding to the load directory, delete immediately.

This is because the last version installed plug-ins to retain useless things, the new version is also loaded with this configuration. Finally solved the problem, find a way to really important!

Start a new project development, learning to use lavare from a pit to jump to another pit, another feeling php job market have been less optimistic, and need to make a transition golang development.

Moreover, we should strive to win a degree in English, and then prepare for graduate school.

Guess you like

Origin www.cnblogs.com/iifeng/p/11293985.html