extensions problems
| From: | Rafa Rodriguez Hernandez | Date: | Wed, 03 Jul 2002 14:36:43 +0000 |
| Subject: | extensions problems | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-85771@lists.php.net to get a copy of this message | ||
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!