Hi,

I want to call PHP code from C. So, I compiled sapi/embed module with my PHP 5.1.4 source (--enable-embed=static). It works fine when I access standard PHP functions. When any .so file (e.g.: axis2.so) is dynamically loaded to PHP, it gives the following error when I run my test C code. (this happens with other DSO's as well.)

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/ext/axis2.so' - /usr/local/lib/php/ext/axis2.so: undefined symbol: _zval_ptr_dtor in Unknown on line 0

axis2.so works fine thourgh cli and apache interfaces. I wonder whether I am missing something. Any help is greatly appreciated.

Thanks,
-Nabeel

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to