ERROR: phpize failed [solved]

ERROR: phpize failed [solved]

January 17, 2011

How to install PHP development files

If you want to run phpize on your system, you need to install the development files of PHP first. Otherwise, you might get an error message like this:

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

To install the PHP development files on Ubuntu/Debian, you can use the following command in the terminal:

apt-get install php5-dev

That should solve the problem. 🙂