Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHP Warning: Module 'imagick' already loaded in Unknown on line 0

I have a simple test file where the only php codes are:

if (isset($_REQUEST['back']) && ($back != '')) { $back = $_REQUEST['back']; }
$filename = 'images/'.$back.'.jpg';
$file = (file_exists($filename)) ? $back : 'back1';

Now each time I run the file, I get this line added PHP Warning: Module 'imagick' already loaded in Unknown on line 0 in my error log. Any suggestion please ?

like image 480
Jeremy Roy Avatar asked Jul 05 '11 18:07

Jeremy Roy


1 Answers

open your php.ini file and comment this

;extension=imagick.so

this resolved my problem

like image 134
Dinesh Gurjar Avatar answered Oct 20 '22 15:10

Dinesh Gurjar