From:             solomierdaybasura at yahoo dot es
Operating system: Windows XP
PHP version:      5.2.0
PHP Bug Type:     Unknown/Other Function
Bug description:  php.exe in downloadable .ZIP package compiled with different 
API than modules

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

-- 
Edit bug report at http://bugs.php.net/?id=39998&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=39998&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=39998&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=39998&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=39998&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=39998&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=39998&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=39998&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=39998&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=39998&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=39998&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=39998&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=39998&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=39998&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=39998&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=39998&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=39998&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=39998&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=39998&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=39998&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=39998&r=mysqlcfg

Reply via email to