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
 [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-2020 The PHP Group
All rights reserved.
Last updated: Fri Aug 07 13:01:24 2020 UTC