(please ignore) Re: [PHP-DEV] phpize returns -1
| From: | Greg Beaver | Date: | Sat, 30 May 2009 02:50:20 +0000 |
| Subject: | (please ignore) Re: [PHP-DEV] phpize returns -1 | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-44099@lists.php.net to get a copy of this message | ||
Christopher Jones wrote:
>
>
> 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
Hi Chris,
Thanks for the reply. I realized a few minutes ago that I was checking
the wrong place for the exit code, sorry for the noise.
Thanks,
Greg