Re: PHP-GTK / PIMG / PHP-imagick Installation Issues
| From: | Decapode Azur | Date: | Fri, 02 Jan 2004 21:32:32 +0000 |
| Subject: | Re: PHP-GTK / PIMG / PHP-imagick Installation Issues | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-4325@lists.php.net to get a copy of this message | ||
> # ./pimg.php lwbeach.jpg
be careful running this under root.
> Content-type: text/html
>
> PHP Warning: Unable to load dynamic library
> '/usr/lib/php4/20020429/imagick.so' - libMagick.so.6: cannot open shared
I got the same error last week when I was arround on an unstable debian,
with php4-magick apt-get'd.
I don't remember clearly what the admin did to resolve the problem, I think it
was something with the php.ini conf file, to set the path of the extentions.
( The /etc/php.ini on my Mandrake contains this:
extension_dir = /usr/lib/php/extensions ; )
If it is not this and if you don't find the solution,
send me a mail and I will ask him details.
I have also noticed small differences on debian about the shebang.
« #! /usr/bin/env php » did not work
I had have to put back « #! /usr/bin/php4 -q »
Well, if you get too much problems with Knoppix,
Mandrake just did a live CD too :)
http://www.mandrakesoft.com/products/mandrakemove/?wslang=en
++