LAMP: Installing PECL HTTP

 

 

Enable the pecl command:

# apt-get install libmagic-dev

Install curl support

# apt-get install libcurl3

 

# pecl install pecl_http
 

pecl downloads and compiles. Follow the prompts and if any development library is not available, just use apt-get to install it.

After pecl is done, just add "extension=http.so" to php.ini and restart apache.

Bookmark the permalink.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  • IGlr