php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8752 Module compiled with 4.0.3 don't run with 4.0.4 and v.v.
Submitted: 2001-01-17 02:15 UTC Modified: 2001-01-17 03:33 UTC
From: j at zsch dot de Assigned:
Status: Closed Package: Dynamic loading
PHP Version: 4.0.4 OS: Windows 2000
Private report: No CVE-ID: None
 [2001-01-17 02:15 UTC] j at zsch dot de
When calling in PHP 4.0.4 a module developed with PHP 4.0.3, I get the
following message:

hostware: Unable to initialize module
Module compiled with debug=0, thread-safety=1 module API=20000809
PHP compiled with debug=0, thread-safety=1 module API=20001214
These options need to match

When I recompile the module, it works. But loading the newly compiled module
with older PHP 4.0.3, I get a similar message.

I would like to use my module in any PHP version.


This is my module declaration:

zend_module_entry php_hostware_module_entry =
{
    "hostware",
    php_hostware_functions,
    PHP_MINIT(hostware),
    PHP_MSHUTDOWN(hostware),
    NULL,
    NULL,
    PHP_MINFO(hostware),
    STANDARD_MODULE_PROPERTIES
};

Possibly the key is the word STANDARD_MODULE_PROPERTIES, which has
ZEND_MODULE_API_NO in it.


Thank You for Your help.
Joacim Zschimmer

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-17 03:33 UTC] hholzgra@php.net
we would all like to, but bugfixes and even some recently added features
can still lead to api changes ...  
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 08:01:28 2024 UTC