Problem with Imagick

inventive79

Verified User
Joined
Feb 22, 2009
Messages
8
Hello everybody, i have Directadmin, Centos, Php5

Here is my problem:

when i try to test if the module is installed correctly....

[root@vps ~]# php -m | grep imagick


i get....:


PHP Warning: PHP Startup: Unable to load dynamic library './imagick.so' - ./imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0

con somebody help me out?

Thanks Francesco
 
You apparently aren't putting the correct path to the imagick.so file. Find the full path and use it in the configuration.
 
Last edited:
I'm not sure how you set things up, but if you did it right:
Code:
updatedb
locate imagick.so
If the file exists, that'll tell you the exact location of it. The first command updates the search database, so give it a little time when you use it.
 
I find (no pun intended) this easier:

Code:
find / -name filename
 
I solved, it was as you a say a problem of path, via shell i still get the error, but testing php online works so for me it is ok.

Thanks again and regards
Francesco
 
If you use php as cgi then the online one will use a different php.ini then the shell one.

find / -name php.ini
 
Back
Top