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 "" to php.ini and restart apache.

Bookmark the permalink.

Leave a Reply