Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44098 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47849 invoked from network); 30 May 2009 00:39:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 May 2009 00:39:38 -0000 Authentication-Results: pb1.pair.com header.from=christopher.jones@oracle.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=christopher.jones@oracle.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain oracle.com from 141.146.126.233 cause and error) X-PHP-List-Original-Sender: christopher.jones@oracle.com X-Host-Fingerprint: 141.146.126.233 acsinet11.oracle.com Received: from [141.146.126.233] ([141.146.126.233:38513] helo=acsinet11.oracle.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 17/CA-28084-840802A4 for ; Fri, 29 May 2009 20:39:37 -0400 Received: from rgminet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by acsinet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n4U0eA6l023621 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 30 May 2009 00:40:11 GMT Received: from abhmt005.oracle.com (abhmt005.oracle.com [141.146.116.14]) by rgminet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n4U0dWPq028234; Sat, 30 May 2009 00:39:33 GMT Received: from [141.144.82.83] (/141.144.82.83) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 29 May 2009 17:39:28 -0700 Message-ID: <4A20803E.10305@oracle.com> Date: Fri, 29 May 2009 17:39:26 -0700 User-Agent: Thunderbird 2.0.0.21 (X11/20090318) MIME-Version: 1.0 To: Greg Beaver CC: PHP Developers Mailing List References: <4A207E15.9050000@chiaraquartet.net> In-Reply-To: <4A207E15.9050000@chiaraquartet.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Source-IP: abhmt005.oracle.com [141.146.116.14] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A09020B.4A208041.002E:SCFSTAT5015188,ss=1,fgs=0 Subject: Re: [PHP-DEV] phpize returns -1 From: christopher.jones@oracle.com (Christopher Jones) Greg Beaver wrote: > Hi, > > Could someone fix phpize to make it return 0 on success? It always > returns -1 when opened via proc_open(), which is exceedingly annoying > when you're trying to use it in a PHP script. > > Thanks, > Greg > The bottom of phpize does return 0 and should be reached when all works OK. I looked into a similar problem a while back. Are you seeing a signal handling issue like http://bugs.php.net/bug.php?id=8992 ? I still see pclose() return failure when I use --enable-sigchild. See http://blogs.oracle.com/opal/2009/03/php_oci8_signal_handling_and_e_1.html Chris -- Email: christopher.jones@oracle.com Twitter: http://twitter.com/ghrd