3

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!

4

2 回答 2

3

这通常是因为 oAuth 版本和 PHP 不兼容。您可以从 windows.php.net 站点获取预编译的最新 oAuth 库:

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

另外不要忘记将扩展名添加到您的 php.ini 中,然后重新启动 Apache。

于 2013-01-12T15:53:48.050 回答
-2

在 Windows 上安装 APC

PECL 用于下载和编译扩展,但 Windows 机器通常没有编译这些所需的东西,而是尝试寻找并下载预编译的 .dll。

于 2011-03-18T19:43:05.137 回答