Question

I want to install imagick extension for PHP. But i get error 'phpize' error when installing

> pecl install imagick-3.1.2

downloading imagick-3.1.2.tgz ...
Starting to download imagick-3.1.2.tgz (94,657 bytes)
.....................done: 94,657 bytes
15 source files, building
running: phpize
sh: phpize: command not found
ERROR: `phpize' failed

I know php-devel package contains phpize for compiling/creating modules/extensions. I don't want to install apache. I am running a LEMP on CentOS 6.4

How do i proceed? or install phpize without apache and reinstalling/configuring php

Was it helpful?

Solution

as root, execute the following command

yum install php-devel

Then try installing the imageMagick extension again

OTHER TIPS

Install the php-devel package, it's included in there

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top