Don’t be panic if you come across the error:

phpize command not found

Here is the solution for this error.

Solution:

# yum -y install php-devel

That’s it! Now you can continue with “phpize” command without any issue.