PHP and ImageMagick

Hi, for the past two months I have been
trying to get Imagemagick working with PHP. I followed all the
instructions for installing php5 and it works. I also installed
imagemagick according to the wiki instructions and that seems to work
fine. The problem is in getting the Magickwand imagemagick extension
to install correctly. I unpacked the magickwand folder into

I’ve followed both the instructions at : and

I cannot figure out where the “ext” directory is in my custom php5
install. Also when I try to phpize the unpacked folder I get a “Cannot
find autoconf. Please check your autoconf installation and the
environment variable is set correctly and then rerun this script.”

I also tried installing it using “pecl install imagick-beta” and I
receive a “Cannot install, php_dir for channel “” is not
writeable by the current user”

I would really appreciate any help with this matter. This is the last
thing I need to make the best use of your service and I’m becoming
increasingly frustrated. Thank you.