Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:19125 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 84328 invoked by uid 1010); 22 Sep 2005 14:32:11 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 84313 invoked from network); 22 Sep 2005 14:32:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Sep 2005 14:32:11 -0000 X-Host-Fingerprint: 212.32.183.87 87.183.32.ip.nordiq.net Received: from ([212.32.183.87:22421] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 48/C2-24510-A60C2334 for ; Thu, 22 Sep 2005 10:32:10 -0400 Message-ID: <48.C2.24510.A60C2334@pb1.pair.com> To: internals@lists.php.net Date: Thu, 22 Sep 2005 16:32:12 +0200 User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 212.32.183.87 Subject: Extension silently fails From: david.olsson@vimio.com (David Olsson) 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