#41857 [Opn->Bgs]: proc_close() sometimes returns 0 but most times returns -1
| From: | iliaa@php.net | Date: | Mon, 02 Jul 2007 15:58:25 +0000 |
| Subject: | #41857 [Opn->Bgs]: proc_close() sometimes returns 0 but most times returns -1 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-114540@lists.php.net to get a copy of this message | ||
ID: 41857
Updated by: iliaa@php.net
Reported By: charpour at gnet dot gr
-Status: Open
+Status: Bogus
Bug Type: Program Execution
Operating System: Debian 4.0 etch/Slackware 10.2.0
PHP Version: 5.2.3
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
The --enable-sigchild is what's responsible for this option, having a
sigchild handler in places prevents PHP from being able to properly
detect status of a forked command.
Previous Comments:
------------------------------------------------------------------------
[2007-07-02 08:00:30] tony2001@php.net
Jani, I've no idea what is --enable-sighild for and why it might be
needed at all.
------------------------------------------------------------------------
[2007-07-01 13:37:28] sniper@php.net
According to Thies' commit comment about the --enable-sigchild option
it is needed when using oracle libs >= 8.1
(see: cvs log -r1.132 configure.in)
Does it still count? And if it does, is this option just for the oracle
stuff? If it is, why not move it into ext/oci8/config.m4 ? (and perhaps
ext/pdo_oci/config.m4 needs it too..)
------------------------------------------------------------------------
[2007-06-30 11:49:00] judas dot iscariote at gmail dot com
If you remove --enable-sigchild it will work. do not use that, is not
needed anymore for nothing. ( IIRC was needed for old oracle extension
that is no longer in use)
I only wonder why it has not been removed yet..
------------------------------------------------------------------------
[2007-06-30 00:21:09] thespacefrog at hotmail dot com
I have the same problem with proc_close and I need the sigchild option
to have the script run as a daemon. Is there any chance to fix this?:/
Thanks
------------------------------------------------------------------------
[2007-06-29 21:37:18] charpour at gnet dot gr
Without these options in the configure command works fine (returns
always 0) :
--enable-sigchild --enable-pcntl --enable-shmop --enable-sysvsem
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/41857
--
Edit this bug report at http://bugs.php.net/?id=41857&edit=1