Reputation: 2723
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
Upvotes: 11
Views: 42238
Reputation: 139
I'm using WAMPServer (x64) with PHP5.6.25 & I want to install "Blesta", the requirements need "Pecl - Mailparse", So:
Note for #3 Example:
;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;
extension=php_openssl.dll
;extension=php_pdo_firebird.dll
extension=php_pdo_mysql.dll
;extension=php_pdo_oci.dll
;extension=php_pdo_odbc.dll
;extension=php_pdo_pgsql.dll
extension=php_pdo_sqlite.dll
;extension=php_pgsql.dll
;extension=php_shmop.dll
extension=php_mailparse.dll
Upvotes: 4
Reputation: 1908
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
Upvotes: 14
Reputation: 31
I had the same issues trying to set this up myself. A lot of the information on stackoverflow on this subject is good but outdated. You can get the latest oAuth libraries on the php.net site here now:
http://windows.php.net/downloads/pecl/releases/oauth/
However, I also had some issues getting it to work with WAMP since the version of PHP they provided was out of date and didn't work with the extensions there. To fix this I had to manually add php versions to WAMP. You can follow this guide on how to do that:
http://www.websanova.com/tutorials/php/manually-adding-php-versions-to-wamp
Upvotes: 1
Reputation: 1607
The PHP site gives great instructions on how to install PHP extensions on Windows. Just Find the *.dll in the PECL, and follow these instructions. You can get the OAuth library here.
Upvotes: 4