php.net |  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
Votes:1
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
 [2017-06-23 09:49 UTC] pmikhaylov at plesk dot com
Description:
------------
Hello,

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 https://pecl.php.net/package/oauth/2.0.2/windows 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-06-24 17:30 UTC] ab@php.net
-Status: Open +Status: Not a bug
 [2017-06-24 17:30 UTC] ab@php.net
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.

Thanks
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 04:01:29 2024 UTC