If you’ve encountered this error while trying to build a PHP plugin or an Apache extension, then you’re simply missing the PHP-Devel package on your system:
-bash: phpize: command not found
To fix this, simple issue one of the commands, depending on your linux O/S:
CentOS: yum -y install php-devel Fedora: up2date -i php-devel
Personally, I run yum on my fedora machine, so I would simply use it to install the package. If you don’t have yum, check out Managing Software with Yum, a great guide for sysadmins.