pecl: command not found

Again, thanks! However I can't find phpize:

Code:
[root@server ~]# whereis phpize
phpize:
 
Last edited:
Thank you! It works doing what you said:

Code:
export PATH=$PATH:/usr/local/php5/bin
cd /root
wget [url]http://pecl.php.net/get/imagick-3.0.1.tgz[/url]
tar zxf imagick-3.0.1.tgz
cd imagick-3.0.1
phpize
./configure
make
make install

End result looking good:

Code:
Installing shared extensions:     /usr/local/php5/lib/php/extensions/no-debug-non-zts-20090626/
Installing header files:          /usr/local/php5/include/php/

Almost done. Thank you so much. Maybe I should hire you to help me upgrade ImageMagick and Imagick on production server? Or maybe it is same procedure to upgrade as it is to install?

Anyway, working with php.ini and stuff now to complete this ... :)
 
Here is a update. In my first post I linked to this guide: http://thegioinguonmo.com/os/lnux/install-imagemagick-imagick-jp2-support-centos-60.html

That guide does not work. When completing that guide, everything works, but php info page show that it is CentOS old version installed, and not the new version from source (wich I wanted).

That guide say in step 1 to do this: yum remove ImageMagick

However in step 5 it say to do this: yum install ImageMagick-devel

However when I do yum install ImageMagick-devel it will also install ImageMagick as a dependency, and I think that is the reason it will use the CentOS version when completed, and not the new version from soruce. I don't know. All I now that is php info page only show old version from CentOS, not the new from source.
 
Back
Top