Home > how-to, Tips & Tricks > ERROR: ‘phpize’ failed on ubuntu

ERROR: ‘phpize’ failed on ubuntu

Today when I tried to install a pear package using the pecl command line on ubuntu, I got the following error :

1
2
3
4
5
6
7
8
pecl install pecl_http
downloading pecl_http-1.6.3.tgz ...
Starting to download pecl_http-1.6.3.tgz (173,005 bytes)
.....................done: 173,005 bytes
71 source files, building
running: phpize
sh: phpize: not found
ERROR: `phpize' failed

Solution :
Just install php5-dev package

1
apt-get install php5-dev

or php4-dev if you are running php 4.x

1
apt-get install php4-dev
Categories: how-to, Tips & Tricks Tags: , , , ,
  1. No comments yet.
  1. No trackbacks yet.