php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #40302 PHP module compiled with different version API
Submitted: 2007-02-01 07:56 UTC Modified: 2007-02-01 09:29 UTC
From: mcrogerm at stjohn dot ac dot th Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 5CVS-2007-02-01 (snap) OS: Win2k Pro
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mcrogerm at stjohn dot ac dot th
New email:
PHP Version: OS:

 

 [2007-02-01 07:56 UTC] mcrogerm at stjohn dot ac dot th
Description:
------------
After I installed ver. 5.2.0, I found a warning message on the command line. I downloaded and installed the latest snapshot version, and the error message is the same except for the version number.

I checked, and the file date on php5ts.dll is 2/1/2007, the same as on php.exe.

Reproduce code:
---------------
c:\PHP>php --version


Expected result:
----------------
PHP 5.2.1RC5-dev (cli) (built: Feb  1 2007 04:24:39)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies

Actual result:
--------------
PHP Warning:  PHP Startup: dbg: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=1
PHP    compiled with module API=20060613, debug=0, thread-safety=1
These options need to match
 in Unknown on line 0
PHP 5.2.1RC5-dev (cli) (built: Feb  1 2007 04:24:39)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-02-01 09:29 UTC] derick@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

It says:
PHP Warning:  PHP Startup: dbg: Unable to initialize module

"dbg" is an external extension that you need to update as well.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 22 06:00:03 2025 UTC