A quick way to diagnose if this is your problem is: nm module.so | grep get_module
If the grep doesn't give any output, this is your problem. - Stig On Wed, 2002-07-03 at 16:36, Rafa Rodriguez Hernandez wrote: > Hi everybody. > > I'm having a problem with php extensions. > > I have a module that I want to load dynamicly with php. > In the php.ini file I have the next line > > extension=module.so > > The module compiles fine.. but when php try to load it, I get this response: > PHP Warning: Invalid library (maybe not a PHP library) 'module.so' in Unknown on >line 0 > > I have in the source code this: > > #if COMPILE_DL_module > ZEND_GET_MODULE(module) > #endif > > So the problem is no from it .. > > May I compile php with any special feature? .. in the php_info it tells me that I >have Dynamic Library suppport enable.. > > This happens with any module I try to load with php. > > Sorry for my english .. I'm not well speaking it :P > > > Thanks a lot! > > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php -- Stig Sæther Bakken, Fast Search & Transfer ASA, Trondheim, Norway http://pear.php.net/wishlist.php/ssb -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php