简体   繁体   English

PHP警告:PHP启动:无法加载动态库imagic.so

[英]PHP Warning: PHP Startup: Unable to load dynamic library imagic.so

me and my server guys are stuck with this error, which is really annoying. 我和我的服务器人员都卡在这个错误中,这真令人讨厌。

the system is sending me email for every 10 minutes 系统每10分钟向我发送一次电子邮件

Cron /usr/local/psa/admin/bin/php -c '/usr/local/psa/admin/conf/php.ini' -dauto_prepend_file=sdk.php '/usr/local/psa/admin/plib/modules/plesk-mobile/scripts/push_worker.php' Cron / usr / local / psa / admin / bin / php -c'/usr/local/psa/admin/conf/php.ini'-dauto_prepend_file = sdk.php'/ usr / local / psa / admin / plib / modules /plesk-mobile/scripts/push_worker.php”

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/sw-engine/imagick.so' - /usr/lib64/php/modules/sw-engine/imagick.so: undefined symbol: OnUpdateBool in Unknown on line 0 PHP警告:PHP启动:无法加载动态库'/usr/lib64/php/modules/sw-engine/imagick.so'-/usr/lib64/php/modules/sw-engine/imagick.so:未定义的符号:第0行上的UnUpdate中的OnUpdateBool

the imagick is working fine, imagick工作正常,

  1. re installed the imagic 重新安装图像
  2. i have checked the php.ini file and imagick.so is there 我已经检查了php.ini文件和imagick.so
  3. and the imagick.so file is there. 并且存在imagick.so文件。
  4. changed the file permissions 更改了文件权限

so what do you think it might be causing this emails ? 那么您认为这可能是导致此电子邮件的原因?

The error message undefined symbol: OnUpdateBool in Unknown on line 0 indicates that when your system is trying to load the imagick.so library, it is trying and failing, to call the function 'OnUpdateBool'. 错误消息undefined symbol: OnUpdateBool in Unknown on line 0表示,当您的系统尝试加载imagick.so库时,尝试调用函数'OnUpdateBool'失败。

That is a function in PHP and has been there since for about 14 years .... 那是PHP中的函数,并且已经存在了大约14年。

I think either your installation of PHP has been corrupted, or there is some other very weird behaviour that is happening eg someone sneakily installed HHVM while you weren't looking. 我认为您的PHP安装已损坏,或者发生了其他一些非常奇怪的行为,例如有人在您不注意的时候偷偷地安装了HHVM。

If your system was working before, you need to find what has changed and work from there. 如果您的系统以前运行过,则需要查找已更改的内容并从那里开始工作。

(after 3 months -- I hope this helps somebody) (3个月后-希望对您有所帮助)
I had PHP errors all of a sudden regarding "imagic.so" on my hostmonster site. 我在hostmonster网站上突然发现有关“ imagic.so”的PHP错误。 My PHP was at 我的PHP在
"PHP 5.2 (Single php.ini)". “ PHP 5.2(单个php.ini)”。 I changed it to 我将其更改为
"PHP 5.4 (Single php.ini)" and the errors stopped. “ PHP 5.4(Single php.ini)”,错误停止。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 警告:PHP启动:无法加载动态库apc.so - Warning: PHP Startup: Unable to load dynamic library apc.so 警告:PHP 启动:无法加载动态库 - Warning: PHP Startup: Unable to load dynamic library PHP警告:PHP启动:无法加载动态库'/usr/lib/php/20151012/mysql.so' - PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/mysql.so' PHP警告:PHP启动:无法加载动态库'/usr/lib/php/20151012/gd.so' - PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/gd.so' PHP 警告:PHP 启动:无法加载动态库 '/usr/lib/php/20151012/msqli.so' - PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/msqli.so' PHP 警告:PHP 启动:无法加载动态库“mcrypt.so” - PHP Warning: PHP Startup: Unable to load dynamic library 'mcrypt.so' 如何修复 PHP 警告:PHP 启动:无法加载动态库“xxx/xxx/yaf.so”? - How to fix PHP Warning: PHP Startup: Unable to load dynamic library 'xxx/xxx/yaf.so'? PHP 警告:PHP 启动:无法加载动态库 'sqlsrv.so' - PHP Warning: PHP Startup: Unable to load dynamic library 'sqlsrv.so' PHP 警告 - PHP 启动:无法加载动态库“imagick.so” - PHP Warning - PHP Startup: Unable to load dynamic library 'imagick.so' PHP 警告:PHP 启动:无法加载动态库“session.so” - PHP Warning: PHP Startup: Unable to load dynamic library 'session.so'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM