We are trying to install the ImageMagick extension on PHP version 7.4 in our AWS ec2 Linux CentOS server using cli. ImageMagick extension was installed successfully. We used convert -version
to check the outcome.
The second step was to install the Imagick PHP extension. We used pecl install imagick
command. On executing the command following error displayed. The summary of error is given below:
phpize failed, Php headers not found in /usr/xx php-devel required to execute command
I searched many forums, but I'm unable to get over this. What shall we do.