You will need to move all the Image Magick files INTO the chroot
You can obtain the file list with:
pkg_info -L ImageMagick
You can skip the docs
you will need to move all the /usr/local/blah/etc/whatevers to
/var/www/usr/local/blah/etc/whatevers
I have done this with a perl script and a file produced from above with
list of files in it.
If you use perl, module File::Copy will FAIL (won't copy *.h files,
don't know why). Use File::Copy::Recursive module instead.
Doing it by hand is also possible of course.
Read the FAQ's carefully about chroot and apache!!!
Have fun!
Chris Bennett
Kevin wrote:
Hello,
I have ImageMagick package installed, but i need it available in apache
and php.
When i try do something like $image = new Imagick(); I have an error
"Imagick class not found".
Can someone tell me how to do it? i googled but without success.
I tried with pecl install imagick but doesnt work.
Thanks for the help