php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #49067 pcntl_sigtimedwait not callable
Submitted: 2009-07-26 16:18 UTC Modified: 2009-07-27 08:37 UTC
From: alex946 at zokov dot net Assigned:
Status: Closed Package: PCNTL related
PHP Version: 5.3.0 OS: Mac OS X 10.5.6 Intel
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: alex946 at zokov dot net
New email:
PHP Version: OS:

 

 [2009-07-26 16:18 UTC] alex946 at zokov dot net
Description:
------------
php compiled with --enable-pcntl

Reproduce code:
---------------
php -r 'var_dump(is_callable('pcntl_sigtimedwait'),is_callable('pcntl_signal'));'


Expected result:
----------------
bool(true)
bool(true)


Actual result:
--------------
bool(false)
bool(true)


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-07-26 16:23 UTC] alex946 at zokov dot net
/Users/alex/php2/bin/php -r 'var_dump(PHP_VERSION,is_callable('pcntl_sigtimedwait'),is_callable('pcntl_signal'));'

string(5) "5.3.0"
bool(false)
bool(true))
 [2009-07-26 19:33 UTC] jani@php.net
Are you sure that the function is even available on your system? 
Check your main/php_config.h for HAVE_SIGWAITINFO and HAVE_SIGTIMEDWAIT 
macros.
 [2009-07-27 08:37 UTC] alex946 at zokov dot net
in file
/usr/include/signal.h 
don't find "int	sigwaitinfo"

Mac OS X 10.5.6 Not support sigwaitinfo and sigtimedwait)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 22:01:30 2024 UTC