Installation of OAuth support in PHP of Linux
OAuth is
an authorization protocol built on top of HTTP which allows applications
to securely access data without having to store usernames and
passwords. And the installion procedure as follow.
#cd /usr/src/
#wget http://pecl.php.net/get/oauth-1.2.2.tgz
#tar jxvf oauth-1.2.2.tgz
#cd oauth-1.2.2
#phpize
#CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./configure
#make && make install
After installing the OAuth add the extension in php.ini file.
#vim /etc/php.ini
Append the OAuth extension as
extension=oauth.so
Restart apache service to take effect of php.ini
/etc/init.d/httpd restart
Now, You can see the OAuth module in php by running the below command
#php -m | grep oauth
#cd /usr/src/
#wget http://pecl.php.net/get/oauth-1.2.2.tgz
#tar jxvf oauth-1.2.2.tgz
#cd oauth-1.2.2
#phpize
#CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./configure
#make && make install
After installing the OAuth add the extension in php.ini file.
#vim /etc/php.ini
Append the OAuth extension as
extension=oauth.so
Restart apache service to take effect of php.ini
/etc/init.d/httpd restart
Now, You can see the OAuth module in php by running the below command
#php -m | grep oauth