PHP warning on Mac mini running Yosemite 10.10.5

。_饼干妹妹 提交于 2019-12-20 04:13:51

问题


When I type php -v in the terminal on my mac mini I get the following error message:

"PHP Warning: PHP Startup: Unable to load dynamic library '/Applications/Server.app/Contents/ServerRoot/usr/lib/php/extensions/no-debug-non-zts-20100525/pdo_pgsql.so' - dlopen(/Applications/Server.app/Contents/ServerRoot/usr/lib/php/extensions/no-debug-non-zts-20100525/pdo_pgsql.so, 9): image not found in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/Applications/Server.app/Contents/ServerRoot/usr/lib/php/extensions/no-debug-non-zts-20100525/pgsql.so' - dlopen(/Applications/Server.app/Contents/ServerRoot/usr/lib/php/extensions/no-debug-non-zts-20100525/pgsql.so, 9): image not found in Unknown on line 0 PHP 5.5.29 (cli) (built: Sep 6 2015 20:20:34) Copyright (c) 1997-2015 The PHP Group Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies"

To update PHP I run the following: curl -s http://php-osx.liip.ch/install.sh | bash -s 7.0 and it appears like it install successfully; however, when I check the version php -v; I keep getting the same error message. I'd appreciate some assistance with this issue. Thanks

来源:https://stackoverflow.com/questions/39672405/php-warning-on-mac-mini-running-yosemite-10-10-5

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!