You can easily install it on Linux server using pecl or pear command.
- Code: Select all
# pecl install pecl_http
If you have any problem/error while installing it using pecl command then you can do it manually , please follow the steps
1) Download the pecl_http source file
- Code: Select all
wget http://pecl.php.net/get/pecl_http-1.6.1.tgz
2) uncompress the file
- Code: Select all
tar –xzvf pecl_http-1.6.1.tgz
- Code: Select all
cd pecl_http-*
3) compile and install
- Code: Select all
# phpize
# ./configure
- Code: Select all
#make
#make install
4) Once it done you will have add “extension=http.so” line to php.ini file.

