How to install oauth in php

How to install oauth in php. Can anyone provide me with full description, links and all libraries. I tried here but I couldn't figure it out

I want to access oauth token by following code

$oauth = new OAuth(API_CONSUMER_KEY, API_CONSUMER_SECRET);

      

but it doesn't work because php extension for oauth is not installed

+3


source to share


3 answers


Yup, u need this php_oauth.dll file (windows)

Paste in

/bin/php[version]/ext

      



And you need to change php.ini to load oauth (Dynamic Extensions)

extension=php_oauth.dll

      

+5


source


First you need to download pear run it. than to install the Oauth extension. For windows, you must compile the file. dll file extension. Good luck.



0


source


You can find the correct DLL files here

Make sure to select the correct file for the following parameters:

  • PHP version
  • Architecture (x86 or x64)
  • Stream safety (yes / no)

You can find this information using php_info (); your server.

0


source







All Articles