Changes in internal Programmsructure ZEND-Api from 4.0b2->3
| From: | php dot willi at sevenval dot de | Date: | Wed, 12 Jan 2000 14:43:18 +0000 |
| Subject: | Changes in internal Programmsructure ZEND-Api from 4.0b2->3 | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-9075@lists.php.net to get a copy of this message | ||
Cheers everybody,
I was about to write a module for a customers Database, as b3 Showed up.
The module was kind of ready and should dynamically be loaded through the
extension mecanism in php.ini :
extension=php_pacs.so
now starting Apache(with b3 in it) results in a Crash :
the dlopen() in ext/standart/dl.c:105 call to load my module failed
(the errormessage returnable through dlerror was :
...php_pacs.so: undefined symbol: zend_register_string_constant )
parsing that Error results in folowing stack :
(gdb) bt
#0 0x8064ebe in sapi_apache_send_headers (sapi_headers=0x817a034)
at mod_php4.c:184
#1 0x806b620 in sapi_send_headers () at SAPI.c:287
#2 0x809dea8 in php3_header () at head.c:386
#3 0x80b6a99 in php_ub_body_write (str=0x8131bea "", str_length=0)
at output.c:336
#4 0x80b6792 in php_body_write (str=0x8131bea "", str_length=0)
at output.c:148
#5 0x8065ae2 in php_error (type=16,
format=0x81425a0 "Unable to load dynamic library '%s' - %s") at main.c:454
#6 0x80952a7 in php_dl (file=0xbfffebc0, type=1, return_value=0xbfffeb6c)
at dl.c:118
.....#10
my makefile looks like this :
LD=gcc -L[...] -ldl -shared -rdynamic
crashing the httpd should not be the result of failing to load a module ?