[Solved] ERROR: phpize failed, command not found in PECL

Share with all..

If you are installing PHP extensions using PECL, you might end up with an error

pecl install uploadprogress
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
downloading uploadprogress- ...
Starting to download uploadprogress- (9,040 bytes)
....done: 9,040 bytes
4 source files, building
running: phpize
sh: phpize: command not found
ERROR: `phpize' failed


The error clearly indicates that issue with phpize. This requires a php-devel to work as phpize is included in php-devel.

Just install php-devel package using yum.

yum -y install php-devel

Then try installing PHP extension again using PECL which should work fine.

Hope this helps!

Share with all..

About Abhijit Sandhan

Loves Open Source, Blogging, Traveling, Hiking and sharing Knowledge!

Leave a Reply

Your email address will not be published. Required fields are marked *