Extension silently fails

From: Date: Thu, 22 Sep 2005 14:32:12 +0000
Subject: Extension silently fails
Groups: php.internals 
Request: Send a blank email to internals+get-19125@lists.php.net to get a copy of this message
Hello all! Not really sure if this is posted in the correct newsgroup. If not, please just ignore my post... :-) Anyhow, I have a strange problem with a PHP extension I have written in C++. It builds fine and it also runs fine when I use it with the PHP CLI. When I use it from Apache 2, it simply fails with the following error in the Apache error log: [Thu Sep 22 16:13:06 2005] [notice] child pid 4151 exit signal Aborted (6) Otherwise, PHP works fine with Apache 2. All I need to do is comment out the lines which use functions in my extension. What could be the difference between running the PHP CLI and PHP as a Apache 2 module? They both use the same php.ini file. Is there any way of getting something more in the log from PHP? These are the extact versions of things I am using: PHP 4.3.11 Apache 2.0.54 GCC 3.2.3 Redhat Enterprise 3 2.4.21-15 Thanks for any help! David Olsson

« previous php.internals (#19125) next »