|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10364 Exec and system always return -1
Submitted: 2001-04-17 13:34 UTC Modified: 2001-05-27 21:30 UTC
From: thomas at dipcard dot com Assigned:
Status: Closed Package: Program Execution
PHP Version: 4.0.4pl1 OS: RedHat Linux 2.2.16
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: thomas at dipcard dot com
New email:
PHP Version: OS:


 [2001-04-17 13:34 UTC] thomas at dipcard dot com
I believe my problem has been described earlier as bug #7324
 but that bug has been closed, and I couldn't figure out how
to follow-up on a closed bug here comes:

It seems like exec and system calls always return -1.

Under 'User Contributed Notes' at writes:
'When I compiled php with "--enable-sigchild", all calls to
exec set return_var to -1. When I recompiled without
"--enable-sigchild", all calles to exec set return_var to
the expected value.'

My PHP is compiled with "--enable-sigchild". I haven't tried
without it.

I have put some test-code at

regards Thomas L. Kjeldsen


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-27 21:30 UTC]
This is fixed in PHP 4.0.5. If not, reopen.


PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 22 15:01:33 2024 UTC