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

Reply via email to