Re: [PHP-DEV] PHP 4.0 Initializing modules. From: Filip Sielimowicz (sielim <email protected>)
Date: 01/05/01

On Thu, 4 Jan 2001, Derick Rethans wrote:

Finally I've found out what's going on ...

I had two different copies of include directories.
One was a "little bit" old, and in file
/usr/local/include/php/Zend/modules.h there was such #define:

#define STANDARD_MODULE_PROPERTIES_EX 0, 0, 0, NULL (or something like
that)

when the correct header file (which SHOULD have been included
instead) has:

#define STANDARD_MODULE_PROPERTIES_EX 0, 0, 0, NULL, 0, ZEND_DEBUG,
USING_ZTS, ZEND_MODULE_API_NO

(in my php directory: /usr/local/php/Zend/modules.h)

I cut the wrong files, made a link to my php directory and everything
seems to be OK (compiled modules have normal parameters now and function
dl works properly).

But why I had two copies - I don't know. It had to be some old stuff
from before the installation of PHP 4.0.

Thanks for your attention !

-- 
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>