Mac OSX “Unable to load dynamic library ‘php_gd2.dll”

      发布在:Uncategorized      评论:0 条评论

Mac更新后出现如下错误:

PHP Startup: Unable to load dynamic library 'php_gd2.dll' (tried: /usr/lib/php/extensions/no-debug-non-zts-20180731/php_gd2.dll (dlopen(/usr/lib/php/extensions/no-debug-non-zts-20180731/php_gd2.dll, 0x0009): dlopen(): file not found: /usr/lib/php/extensions/no-debug-non-zts-20180731/php_gd2.dll), /usr/lib/php/extensions/no-debug-non-zts-20180731/php_gd2.dll.so (dlopen(/usr/lib/php/extensions/no-debug-non-zts-20180731/php_gd2.dll.so, 0x0009): dlopen(): file not found: /usr/lib/php/extensions/no-debug-non-zts-20180731/php_gd2.dll.so)) in Unknown on line 0

没找到解决方案,直接在php.ini中注释掉这些行,不影响PHP正常运行。

Responses