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
Greg Beaver wrote:
Hi,
Could someone fix phpize to make it return 0 on success? It always
returns -1 when opened viaproc_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
Christopher Jones wrote:
Greg Beaver wrote:
Hi,
Could someone fix phpize to make it return 0 on success? It always
returns -1 when opened viaproc_open()
, which is exceedingly annoying
when you're trying to use it in a PHP script.Thanks,
GregThe 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 seepclose()
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