|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #74805 Versions of download links are mixed up
Submitted: 2017-06-23 09:49 UTC Modified: 2017-06-24 17:30 UTC
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: pmikhaylov at plesk dot com Assigned:
Status: Not a bug Package: oauth (PECL)
PHP Version: 7.0.20 OS: Windows
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: pmikhaylov at plesk dot com
New email:
PHP Version: OS:


 [2017-06-23 09:49 UTC] pmikhaylov at plesk dot com

I have tried installing x86 version of OAuth for PHP 7.0 and when I downloaded x86 archive and installed the extension, php -m gave me output like this:

PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\Plesk\Additional\PleskPHP70\ext\php_oauth.dll' - %1 is not a valid Win32 application.
 in Unknown on line 0

I am sure that I downloaded x86 archive on the page for version 7.0.
It did the same for both, safe-thread and non-safe-thread.

However, when I downloaded x64 archive, the extension successfully loaded.

Test script:
No need.

Expected result:
Names for the downloads should be appropriate:
- x86 for Win32
- x64 for Win64

Actual result:
Names are mixed up:
- x86 for Win64
- x64 for Win32


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-06-24 17:30 UTC]
-Status: Open +Status: Not a bug
 [2017-06-24 17:30 UTC]
Thanks for the report. I currently don't see the discrepancies between package names and contents. Checked several packages for oauth 2.0.2. If you have Visual Studio around, you can check the bins with a command like `link /dump /headers php_oauth.dll | find /i "machine"`. Likely that your PHP package is 64-bit then.

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Thu Sep 28 09:01:24 2023 UTC