[PHP-DEV] Re: PHP 4.0 Bug #8752 Updated: Module compiled with 4.0.3 don't run with 4.0.4 and v.v. From: Joacim Zschimmer (j <email protected>)
Date: 01/17/01

Thank You for Your quick answer.
I understand we have to deliver a separate module to our customers for every
new version of PHP they have.

Joacim Zschimmer

----- Original Message -----
From: "Bug Database" <php-dev <email protected>>
To: <j <email protected>>
Sent: Wednesday, January 17, 2001 9:33 AM
Subject: PHP 4.0 Bug #8752 Updated: Module compiled with 4.0.3 don't run
with 4.0.4 and v.v.

ID: 8752
Updated by: hholzgra
Reported By: j <email protected>
Old-Status: Open
Status: Closed
Bug Type: Dynamic loading
Assigned To:
Comments:

we would all like to, but bugfixes and even some recently added features
can still lead to api changes ...

Previous Comments:
---------------------------------------------------------------------------

[2001-01-17 02:15:05] j <email protected>
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

---------------------------------------------------------------------------

Full Bug description available at: http://bugs.php.net/?id=8752

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>