Re: [PHP-DEV] extension modules

2002-07-02 Thread Torsten Curdt
Thanks for the help guys! :-) -- Torsten -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] extension modules

2002-07-02 Thread Torsten Curdt
configure of php itself or the extension module? On Tuesday 02 July 2002 21:45, George Schlossnagle wrote: > Actually, if you run configure with > > --with-sqlanywhere=shared, that directive should be added to config.h > > On Tuesday, July 2, 2002, at 03:42 PM, Torsten Curdt wrote: > > On Tuesda

Re: [PHP-DEV] extension modules

2002-07-02 Thread George Schlossnagle
Actually, if you run configure with --with-sqlanywhere=shared, that directive should be added to config.h On Tuesday, July 2, 2002, at 03:42 PM, Torsten Curdt wrote: > On Tuesday 02 July 2002 21:31, George Schlossnagle wrote: >> You need to do a >> >> ZEND_GET_MODULE(modulename); >> >> in yor e

Re: [PHP-DEV] extension modules

2002-07-02 Thread Torsten Curdt
On Tuesday 02 July 2002 21:31, George Schlossnagle wrote: > You need to do a > > ZEND_GET_MODULE(modulename); > > in yor extension. That did it!! :-)) Thanks I found a #ifdef COMPILE_DL_SQLANYWHERE ZEND_GET_MODULE(sqlanywhere) #endif in the code. I only needed to removed the preprocessor instr

Re: [PHP-DEV] extension modules

2002-07-02 Thread George Schlossnagle
You need to do a ZEND_GET_MODULE(modulename); in yor extension. George On Tuesday, July 2, 2002, at 03:25 PM, Torsten Curdt wrote: > On Tuesday 02 July 2002 21:21, [EMAIL PROTECTED] wrote: >> On Tue, 2 Jul 2002, Torsten Curdt wrote: >>> Two simple questions: >>> >>> 1) Does the "core" (aka li

Re: [PHP-DEV] extension modules

2002-07-02 Thread derick
On Tue, 2 Jul 2002, Torsten Curdt wrote: [...] > Hm... but now I am back puzzled why I cannot load my self compiled extension > module. I always get: > > PHP Warning: Invalid library (maybe not a PHP library) '..' > > I thought I get this because it needs to be "registered" at compile time

Re: [PHP-DEV] extension modules

2002-07-02 Thread Torsten Curdt
On Tuesday 02 July 2002 21:21, [EMAIL PROTECTED] wrote: > On Tue, 2 Jul 2002, Torsten Curdt wrote: > > Two simple questions: > > > > 1) Does the "core" (aka libphp4.so) need to know about all possible > > extension modules at compilation time (--with-FOO=shared) in order to > > load a module? Or i

Re: [PHP-DEV] extension modules

2002-07-02 Thread derick
On Tue, 2 Jul 2002, Torsten Curdt wrote: > Two simple questions: > > 1) Does the "core" (aka libphp4.so) need to know about all possible extension > modules at compilation time (--with-FOO=shared) in order to load a module? Or > is it possible to just load any module that is compiled against t