Install pecl_http di ubuntu 10.04

karena kadung udah garap program dengan fungsi2 asik http di PHP di platform xampp windows,

eh pas deploy gaktaunya gak ada di ubuntu,

cari di reponya ubuntu juga gak nemu

jadi .. harus donlot langsung pake pear dan compile lagi biar jadi .so nya.,

langkah2 nya adalah

sudo apt-get install php-pear php5-dev libcurl4-openssl-dev

 

sudo pecl install pecl_http

 

buat file /etc/php5/conf.d/http.ini yang berisi :
extension=http.so


sudo /etc/init.d/apache2 restart

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s