Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install PHP extension locally on WAMP?

I've never done this, so I'm looking for detailed guidance. I'm trying to use the Evernote API to create a PHP page. I've downloaded their SDK and it says I need to install OAuth extension for PHP. I have WAMPSERVER installed on my local machine (Windows 7). I've tried reading the manual but I can't even figure out what to download :S Is this a fairly straightforward process?

http://php.net/manual/en/book.oauth.php

like image 322
anna Avatar asked Jul 23 '11 20:07

anna


1 Answers

Get the precompiled dll from http://downloads.php.net/pierre/

Search the page for oauth and choose the one for your machine.

Put that .dll file in your PHP extensions directory. Find the extensions area in your php.ini file and add this to it:

[PHP_OAUTH]
extension=php_oauth.dll

restart WAMP server

like image 119
plague Avatar answered Oct 14 '22 02:10

plague