当前位置:Gxlcms > PHP教程 > macos安装magicwand报错

macos安装magicwand报错

时间:2021-07-01 10:21:17 帮助过:17人阅读

我安装的是MagickWandForPHP-1.0.9-2.tar.gz 这个包

将 magicwand.so 加在 php.ini里面 然后报错 这个是apache的 error_log

Warning:  PHP Startup: Unable to load dynamic library '/service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so' - dlopen(/service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so, 9): Library not loaded: /usr/local/lib/libjpeg.8.dylib
  Referenced from: /service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so
  Reason: image not found in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so' - dlopen(/service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so, 9): Library not loaded: /usr/local/lib/libjpeg.8.dylib Referenced from: /service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so Reason: image not found in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so' - dlopen(/service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so, 9): Library not loaded: /usr/local/lib/libjpeg.8.dylib Referenced from: /service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so Reason: image not found in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so' - dlopen(/service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so, 9): Library not loaded: /usr/local/lib/libjpeg.8.dylib Referenced from: /service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so Reason: image not found in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so' - dlopen(/service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so, 9): Library not loaded: /usr/local/lib/libjpeg.8.dylib Referenced from: /service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so

我的php.ini 是这样

extension="/service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so"

环境说明 我的服务都是 放在了 /service 目录下面 还有就是 这些目录下面的文件都有

anmatoMacBook-Pro:service an$ ls -lrt /service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so
-rwxr-xr-x  1 root  wheel  384552  7 24 18:15 /service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so

还有个问题是 /usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so 我目录下面 没有这个文件,却总是一直报错 报这个错

Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): 
image not found in Unknown on line 0

各位帮忙看看 不慎感激,搞了快2天了 还没搞好 而且我本地的apache很慢,这个是主要原因,个人感觉是 这个waring导致比较慢,macos真心玩不明白 我的phpinfo 可以看到 imagick magickwand

回复内容:

我安装的是MagickWandForPHP-1.0.9-2.tar.gz 这个包

将 magicwand.so 加在 php.ini里面 然后报错 这个是apache的 error_log

Warning:  PHP Startup: Unable to load dynamic library '/service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so' - dlopen(/service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so, 9): Library not loaded: /usr/local/lib/libjpeg.8.dylib
  Referenced from: /service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so
  Reason: image not found in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so' - dlopen(/service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so, 9): Library not loaded: /usr/local/lib/libjpeg.8.dylib Referenced from: /service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so Reason: image not found in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so' - dlopen(/service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so, 9): Library not loaded: /usr/local/lib/libjpeg.8.dylib Referenced from: /service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so Reason: image not found in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so' - dlopen(/service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so, 9): Library not loaded: /usr/local/lib/libjpeg.8.dylib Referenced from: /service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so Reason: image not found in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so' - dlopen(/service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so, 9): Library not loaded: /usr/local/lib/libjpeg.8.dylib Referenced from: /service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so

我的php.ini 是这样

extension="/service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so"

环境说明 我的服务都是 放在了 /service 目录下面 还有就是 这些目录下面的文件都有

anmatoMacBook-Pro:service an$ ls -lrt /service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so
-rwxr-xr-x  1 root  wheel  384552  7 24 18:15 /service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so

还有个问题是 /usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so 我目录下面 没有这个文件,却总是一直报错 报这个错

Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): 
image not found in Unknown on line 0

各位帮忙看看 不慎感激,搞了快2天了 还没搞好 而且我本地的apache很慢,这个是主要原因,个人感觉是 这个waring导致比较慢,macos真心玩不明白 我的phpinfo 可以看到 imagick magickwand

人气教程排行