Re: PHP 4.0 Initializing modules.
| From: | Filip Sielimowicz | Date: | Fri, 05 Jan 2001 15:20:43 +0000 |
| Subject: | Re: PHP 4.0 Initializing modules. | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-43048@lists.php.net to get a copy of this message | ||
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 !