Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

OAuth PHP for Windows?

I'm running XAMPP on windows and trying to install Oauth into PHP. I already tried running "pecl install oauth" but it gave me error. i don't have a compiler to compile the OAuth 1.10 into .dll, and really don't have the time to learn how to compile it.

the link for the pecl package is here: http://pecl.php.net/package/oauth/1.1.0

EDIT after running 'pecl install oauth' the error i get is this:

WARNING: php_bin C:\XAMPP\xampp\php\php.exe appears to have a suffix \php.exe, but config variable php_suffix does not match. ERROR: The DSP oauth.dsp does not exist.

thanks!

like image 562
01jayss Avatar asked Apr 23 '26 23:04

01jayss


1 Answers

This is usually do to incompatibility between the oAuth version and PHP. You can get the latest oAuth library precompiled from the windows.php.net site:

http://windows.php.net/downloads/pecl/releases/oauth/

Also don't forget to add the extension to your php.ini and restart Apache afterwards.

like image 108
Rob Avatar answered Apr 25 '26 12:04

Rob



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!