How to install Imagick imagemagick PHP extension on windows 7

0 votes

Installing Image Magic in Windows 7: instructions I carried out these instructions.

IMagick installation on Windows XP (PHP 5.2.x)

  1. Download and install ImageMagick-6.5.8-7 Q16-windows-dll.exe  ImageMagick-6.5.8-7-Q16-windows-dll.exe

  2. Download php_imagick_dyn-Q16.dll imagick-windows-builds/080709/

    copy dll to [PHP]/extension dir and rename it to php_imagick.dll

  3. You have to edit your php.ini file and add a new  extension.

    extension=php_imagick.dll
    
  4. Save ini file and restart the apache server.

    (If necessary, restart your windows)

  5. phpinfo() should show imagick enabled.

Then I try running a test script, but it doesn't work. It displays a missing Imagic class error.

Fatal error: Class 'Imagick' not found in C:...\imgborder.php on line XXX

Can someone please help me to install Imagick?

Aug 4, 2022 in PHP by Kithuzzz
• 38,000 points
6,247 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In PHP

0 votes
1 answer

How to resolve “must be an instance of string, string given” prior to PHP 7?

Hello, Prior to PHP 7 type hinting can only be ...READ MORE

answered Apr 20, 2020 in PHP by I Navin
• 220 points
5,171 views
0 votes
1 answer

How can I connect to MySQL in Python 3 on Windows?

Hello @kartik, You should probably use pymysql - Pure Python ...READ MORE

answered Aug 20, 2020 in PHP by Niroj
• 82,840 points
978 views
0 votes
1 answer

How To Run PHP From Windows Command Line in WAMPServer

Hello @kartik, Try using batch file Open notepad type php -S ...READ MORE

answered Oct 27, 2020 in PHP by Niroj
• 82,840 points
3,124 views
0 votes
1 answer

How can I enable the MySQLi extension in PHP 7?

Hello @kartik, The problem is that the package ...READ MORE

answered Oct 30, 2020 in PHP by Niroj
• 82,840 points
3,844 views
0 votes
1 answer

How to check file extension in upload form in PHP?

Hello @kartik, Using if( $ext !== 'gif') might not ...READ MORE

answered Nov 8, 2020 in PHP by Niroj
• 82,840 points
17,177 views
0 votes
0 answers

How to run php files on my computer?

How can I run a PHP file ...READ MORE

Jun 4, 2022 in PHP by Kichu
• 19,040 points
369 views
0 votes
0 answers

Editing image colors in PHP - color exchange

I am trying to convert all colors ...READ MORE

Jun 12, 2022 in PHP by narikkadan
• 63,600 points
421 views
0 votes
0 answers

PHP Merge 2 Images (Insert Face To An Image)

I have 2 images. one face image ...READ MORE

May 27, 2022 in PHP by Kichu
• 19,040 points
1,499 views
0 votes
0 answers

PHP5 - I want to write a Hindi text on image

I want to write Hindi text on ...READ MORE

May 27, 2022 in PHP by Kichu
• 19,040 points
749 views
0 votes
0 answers

PHP upload image

I have a config.php file that connects ...READ MORE

Jun 4, 2022 in PHP by Kichu
• 19,040 points
520 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP