phpize: command not found

The error message 'phpize: command not found' is an error that webmasters using the PHP programming language may have encountered. This happens if the PHP language is installed on the computer but the extension pack that is used to run the commands is not installed. This can be avoided and there is a very easy way to get rid of the error 'phpize: command not found'. A piece of code at the beginning of the document can solve the problem without any hassle.

Though you have installed the PHP programming language on your computer, you will be required to install the extension pecl to be able to run its commands.

Otherwise, you will be faced with the error message below:

sh: phpize: command not found    
ERROR: 'phpize' failed

To avoid this issue, copy and paste the following command at the beginning of your PHP document. It will run automatically and will save you a lot of time.

apt-get install php5-dev

Published by netty5. Latest update on February 14, 2012 at 10:34 AM by Paul Berentzen.
This document, titled "phpize: command not found," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (
Automatically switch language on your website
How to turn a URL into a hyperlink