php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #42008 Incorrect windows binary
Submitted: 2007-07-16 13:31 UTC Modified: 2007-07-17 14:16 UTC
From: kcyster at uwc dot ac dot za Assigned:
Status: Not a bug Package: Website problem
PHP Version: Irrelevant OS: Windows XP
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: kcyster at uwc dot ac dot za
New email:
PHP Version: OS:

 

 [2007-07-16 13:31 UTC] kcyster at uwc dot ac dot za
Description:
------------
The link to download the PHP 5.2.0 Windows binary gives you the PHP 5.1.6 Windows binary (The name of the file is php-5.2.0-Win32.zip, but in phpinfo(); the version is PHP 5.1.6)


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-07-17 11:43 UTC] bjori@php.net
Check the "snapshot.txt" or "news.txt" file, you probably had 5.1.6 previously installed?

If not, where exactly did you download it from?
I checked http://www.php.net/get/php-5.2.0-Win32.zip/from/a/mirror (from php.net/releases), which gives me 5.2.0 correctly.
 [2007-07-17 12:46 UTC] kcyster at uwc dot ac dot za
The download was from
http://www.php.net/get/php-5.2.0-Win32.zip/from/this/mirror

Both the files snapshot.txt and news.txt show the php version to be 5.2.0

However the function phpinfo(); returns the following
PHP Version 5.1.6 and 
Build Date Aug 23 2006 16:31:18

I have multiple versions of PHP and only this version has this discrepancy
 [2007-07-17 14:16 UTC] bjori@php.net
Please do the following:
Start->run->cmd
cd c:\path\to\where\you\extracted\php-5.2.0
php-cli.exe -v

That binary is 5.2.0, you however forgot to tell your webserver to use that one, not 5.1.6 as you had previously installed.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Jun 17 08:00:02 2026 UTC