At 10:35 03.03.2003, Joe Wong said: --------------------[snip]-------------------- > My last posting was interrupted. The details are here: > >I have created an extension on top of a C++ library >If I put the module name into php.ini extension=XYZ, apache failed to load >If I try to use 'dl' to load the libary in a PHP page, I got 'child exist >segementation fault' in /var/log/httpd/error_log > >I am sure the C++ library is running ok as I have a test program that make >use of it. I just don't know how I can make it work with PHP.. --------------------[snip]--------------------
Sounds as if there was some problem in the extensions initialization code. I'd try to put some debugging in there (write to a file, flush and close it) so you can see how far your extension executes until the segfault. -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php