You are not logged in.

#1 2011-03-06 08:55:09

smiechowy
Member
Registered: 2011-01-30
Posts: 11

[SOLVED] How to install Image magick extension for php?

As in topic, how to install imagick extension for php (xampp)? I tried with pecl, i installed pear first and imagick with "pecl install imagick". I added extension to php.ini file (/opt/lampp/etc/php.ini) but when i try to start xampp, i get error:

Warning: PHP Startup: Unable to load dynamic library '/opt/lampp/lib/php/extensions/no-debug-non-zts-20090626/imagic.so' - /opt/lampp/lib/php/extensions/no-debug-non-zts-20090626/imagic.so: cannot open shared object file: No such file or directory in Unknown on line 0

What should i do?

Last edited by smiechowy (2011-03-06 12:23:55)

Offline

#2 2011-03-06 11:30:16

Spider.007
Member
Registered: 2004-06-20
Posts: 1,175

Re: [SOLVED] How to install Image magick extension for php?

does /opt/lampp/lib/php/extensions/no-debug-non-zts-20090626/imagic.so exist? If not, check the pecl output to see where it is installed.

Offline

#3 2011-03-06 11:34:41

smiechowy
Member
Registered: 2011-01-30
Posts: 11

Re: [SOLVED] How to install Image magick extension for php?

it was installed in /usr/lib/php/modules/ I copied imagic.so to /opt/lampp/lib/php/extensions/no-debug-non-zts-20090626/ but it still don't work ;/

Edit: problem solved, i made a mistake adding "imagic.so" in php.ini instead of "imagick.so".

Last edited by smiechowy (2011-03-06 12:23:39)

Offline

#4 2011-03-07 08:46:55

Spider.007
Member
Registered: 2004-06-20
Posts: 1,175

Re: [SOLVED] How to install Image magick extension for php?

This might be offtopic, but is xampp really so much better than installing apache/mysql/php manually in archlinux? You are gonna run into the same problem every time you install/update a pecl package smile

Offline

#5 2011-03-07 14:41:47

smiechowy
Member
Registered: 2011-01-30
Posts: 11

Re: [SOLVED] How to install Image magick extension for php?

thanks, i will consider that.

Offline

Board footer

Powered by FluxBB