Installing PHP Pecl Http Module on Ubuntu
This Short Guide shows you Step-by-Step How to Install and Enable the Latest PHP Pecl Http Module for Ubuntu i386/amd64 Desktop.
The Best Way to Install the Http Module is to Provide Directly to Download, Compile and Install the Latest Pecl Http Release.
To the Article Top there is a Link to Enabling the PECL Command on Ubuntu Linux.
-
How to Install/Enable PECL Command on Ubuntu Linux
-
Open Terminal Window
(Press “Enter” to Execute Commands)In case first see: Terminal QuickStart Guide.
-
Download the PHP Pecl Http Module
-
Installing Http Module:
tar xvzf pecl_http*.tar.gz
cd pecl_http*/
phpize
./configure
make
make install
make test
-
Enabling the PHP http Module:
nano </path/2>/php.ini
Linux How to Easy Locate/Search/Find Files/Directories/Paths on Command Line:Insert or UnComment a Line Containing:
/nenable=http.so;
Ctrl+x to Save & Exit.
-
ReStart Apache to Load the Http Module:
service apache2 restart