This is a discussion on zend api / strange segfault in extension within the PHP Language forums, part of the PHP Programming Forums category; Hello, I'm developing a php extension as a communication layer for a proprietary database. Now, when I run two ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello,
I'm developing a php extension as a communication layer for a proprietary database. Now, when I run two different versions of this extension on the same webserver (Apache 3, PHP 4.3.3, extension loaded via dl() ), I will get strange segmentation faults - that occur somewhere in PHP (not in the extension itself). I tried everything - from changing the name of the .so to changing all function names, to changing everything in zend_module_info etc. But I still got crashes, when using both modules at the same time (not in same request, but on the same webserver). What else could cause this problem? I even would expect that an extension will be unloaded after a request, and that it will only be loaded in the next request. Maybe the module won't be correctly unloaded and causes a crash when trying to load the other module? Anyone had similar experiences ? Thanks, Robert Frunzke |