php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39998 php.exe in downloadable .ZIP package compiled with different API than modules
Submitted: 2007-01-01 20:09 UTC Modified: 2007-01-02 03:45 UTC
From: solomierdaybasura at yahoo dot es Assigned: edink (profile)
Status: Not a bug Package: Unknown/Other Function
PHP Version: 5.2.0 OS: Windows XP
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: solomierdaybasura at yahoo dot es
New email:
PHP Version: OS:

 

 [2007-01-01 20:09 UTC] solomierdaybasura at yahoo dot es
Description:
------------
I've downloaded PHP 5.2.0 from .ZIP and from the installer for windows. They do not contain the same php.exe file.

php.exe in the .ZIP file is compiled with an old API (20050922), as I constantly got errors from module such as MySQL/MySQLi extensions not working because they are compiled with API 20060613.

However, the files provided with the installer DO WORK, as php.exe is compiled correctly and matches the modules' API.

Reproduce code:
---------------
- Download PHP 5.2.0 .zip package (windows binaries) from http://www.php.net/downloads.php
- Uncompress and place php.ini under c:\windows, properly configure it to activate mysql and mysqli extensions.
- Type 'php -m' on the command line



Expected result:
----------------
[PHP Modules]
.
.
mysql
mysqli
.
.

[Zend Modules]

Actual result:
--------------
PHP Warning: PHP Startup: mysql: Unable to initialize module
Module compiled with module API=20060613
PHP    compiled with module API=20050922
These options need to match

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-01-02 03:45 UTC] edink@php.net
The distro files are fine. You have most likely a mix up of two (or more) PHP installs.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 04 05:01:30 2024 UTC