Unable to load dynamic library imagick.so, memcache.so

postcd

Well-Known Member
Oct 22, 2010
717
19
68
Hello,

the website generating this into error_log file:
[27-May-2014 22:11:39 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/imagick.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0
[27-May-2014 22:11:39 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/memcache.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/memcache.so: cannot open shared object file: No such file or directory in Unknown on line 0
I want to ask how to solve this?

php -v
PHP 5.3.28 (cli) (built: May 15 2014 18:51:21)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies
with eAccelerator v0.9.6.1-ea, Copyright (c) 2004-2012 eAccelerator, by eAccelerator
with the ionCube PHP Loader v4.4.1, Copyright (c) 2002-2013, by ionCube Ltd., and
with Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technologies
with Suhosin v0.9.33, Copyright (c) 2007-2012, by SektionEins GmbH
grep ^extension /usr/local/lib/php.ini
extension_dir = "/usr/local/lib/php/extensions/no-debug-non-zts-20090626"
extension = "eaccelerator.so"
extension = "suhosin.so"
extension = "pdo.so"
extension = "pdo_sqlite.so"
extension = "sqlite.so"
extension = "imagick.so"
extension = "memcache.so"
extension = "pdo_mysql.so"
extension = "ixed.5.3.lin"
cd /usr/local/lib/php/extensions/;ls *
no-debug-non-zts-20090626:
./ ../ eaccelerator.so* imagick.so ixed.5.3.lin pdo.so* pdo_mysql.so pdo_sqlite.so* sqlite.so* suhosin.so* xcache.so*

no-debug-non-zts-20100525:
./ ../ eaccelerator.so* ixed.5.4.lin pdo.so* pdo_mysql.so* pdo_sqlite.so*
but i see that imagick in that directory, so why it complains?
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,218
463
Hello :)

Have you checked to verify a custom php.ini file is not uploaded and utilized by the individual account?

Thank you.
 

postcd

Well-Known Member
Oct 22, 2010
717
19
68
verify a custom php.ini file is not uploaded and utilized by the individual account?
I now checked this, there are .htaccess files, but no php.* files in root directory or subfolder. Also i have NOT set any rule for this domain in global php.ini :confused:

the mentioned errors are still generated. Is imagick and memcache supported in SuPHP and my phpversion?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,218
463
Are you using Cloud Linux? If so, remember to run this command:

Code:
cagefsctl --force-update
Thank you.
 

cPanelPeter

Technical Analyst III
Staff member
Sep 23, 2013
574
17
143
cPanel Access Level
Root Administrator
Twitter
Hello,

ImageMagick is now installed as an RPM from the operating system. Are you sure you have it installed? Please try typing:

Code:
# rpm -qa | grep -i ImageMagick
You should get output as follows:
Code:
cpanel-ImageMagick-6.8.8-1.cp1136.x86_64
ImageMagick-devel-6.5.4.7-7.el6_5.x86_64
ImageMagick-c++-devel-6.5.4.7-7.el6_5.x86_64
ImageMagick-6.5.4.7-7.el6_5.x86_64
ImageMagick-perl-6.5.4.7-7.el6_5.x86_64
ImageMagick-c++-6.5.4.7-7.el6_5.x86_64
 

postcd

Well-Known Member
Oct 22, 2010
717
19
68
yes, i installed it before some time..

rpm -qa | grep -i ImageMagick
ImageMagick-c++-devel-6.5.4.7-7.el6_5.x86_64
cpanel-ImageMagick-6.8.8-1.cp1136.x86_64
ImageMagick-6.5.4.7-7.el6_5.x86_64
ImageMagick-perl-6.5.4.7-7.el6_5.x86_64
ImageMagick-devel-6.5.4.7-7.el6_5.x86_64
ImageMagick-c++-6.5.4.7-7.el6_5.x86_64

..and i got errors from first post of mine
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,218
463
Feel free to open a support ticket so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome.

Thanks.