Biker
Well-known member
Ever since cPanel made changes to how the imagic php module gets loaded, I've been pulling my hair out trying to sort out the following error message.
[24-Mar-2013 14:56:49 America/New_York] PHP Warning: PHP Startup: imagick: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20100525
These options need to match
in Unknown on line 0
I suspect it has to do with this.
Under /usr/lib/php/extensions there are two directories.
no-debug-non-zts-20060613 no-debug-non-zts-20090626
In no-debug-non-zts-20090626 there is one file.
706521 Feb 6 2012 imagick.so
Now... Under /usr/local/lib/php/extensions I see the following:
no-debug-non-zts-20060613 no-debug-non-zts-20090626 no-debug-non-zts-20100525
Under no-debug-non-zts-20090626 the following shows:
349694 May 23 2012 eaccelerator.so
706521 Feb 6 2012 imagick.so
49 Feb 6 2012 no-debug-non-zts-20090626 -> /usr/lib/php/extensions/no-debug-non-zts-20090626
353105 Apr 24 2010 xcache.so
Under no-debug-non-zts-20100525 I see:
706521 Jan 7 08:06 imagick.so
302548 Jan 27 09:12 timezonedb.so
php.conf is pointing to /user/local/lib/php/extensions/no-debug-non-zts-20100525
So, short of ripping everything relating to ImageMagick off the server and redoing it from scratch, is there a simple fix for this?
[24-Mar-2013 14:56:49 America/New_York] PHP Warning: PHP Startup: imagick: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20100525
These options need to match
in Unknown on line 0
I suspect it has to do with this.
Under /usr/lib/php/extensions there are two directories.
no-debug-non-zts-20060613 no-debug-non-zts-20090626
In no-debug-non-zts-20090626 there is one file.
706521 Feb 6 2012 imagick.so
Now... Under /usr/local/lib/php/extensions I see the following:
no-debug-non-zts-20060613 no-debug-non-zts-20090626 no-debug-non-zts-20100525
Under no-debug-non-zts-20090626 the following shows:
349694 May 23 2012 eaccelerator.so
706521 Feb 6 2012 imagick.so
49 Feb 6 2012 no-debug-non-zts-20090626 -> /usr/lib/php/extensions/no-debug-non-zts-20090626
353105 Apr 24 2010 xcache.so
Under no-debug-non-zts-20100525 I see:
706521 Jan 7 08:06 imagick.so
302548 Jan 27 09:12 timezonedb.so
php.conf is pointing to /user/local/lib/php/extensions/no-debug-non-zts-20100525
So, short of ripping everything relating to ImageMagick off the server and redoing it from scratch, is there a simple fix for this?