Reputation: 3071
This line of PHP code:
$oauthClient = new OAuth($consumerKey, $consumerSecret, ... etc.
Results in error:
Fatal error: Class 'OAuth' not found
I'm running WampServer 2.1, PHP version 5.3.4, Windows Server 2008 R2 (equivalent to Windows 7)
I've double checked that php_oauth.dll is installed as per these instructions: PHP OAUTH class api
How do I successfully load the oauth extension and fix this PHP error?
Upvotes: 5
Views: 8173
Reputation: 1011
This is because you don't enabled php_OAuth.dll
For that you first need to enable
You can find stepwise instructions for windows from here
Upvotes: 0