Doc #52173 [Com]: ext/pcntl doesn't store/report errors

[email protected] ("Vincent48Sabin at gmail dot com") Mon, 09 Jan 2023 12:20:20 +0000
Newsgroups php.doc.bugs
Message-ID <[email protected]>
Edit report at https://bugs.php.net/bug.php?id=52173&edit=1

 ID:                 52173
 Comment by:         Vincent48Sabin at gmail dot com
 Reported by:        nick dot telford at gmail dot com
 Summary:            ext/pcntl doesn't store/report errors
 Status:             Open
 Type:               Documentation Problem
 Package:            PCNTL related
 Operating System:   Linux
 PHP Version:        trunk-SVN-2010-06-24 (SVN)
 Block user comment: N
 Private report:     N

 New Comment:

Here's what I've found in Ubuntu 12.04:

Check your PHP.ini for the pnctl functions being disabled.

disable_functions =     pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority
phpinfo reports the function is already loaded but it will not actually work without putting the pcntl.ini file into /etc/php5/conf.d.


(https://www.myhealthatvanderbilt.us/)github.com


Previous Comments:
------------------------------------------------------------------------
[2022-12-03 06:26:09] Ericu98909coy at gmail dot com

Run composer with the --ignore-platform-reqs option and specify pcntl and posix

composer install --ignore-platform-reqs

(https://www.kantime-medicare.com/)github.com

------------------------------------------------------------------------
[2017-01-28 16:42:38] [email protected]

Related To: Bug #65185

------------------------------------------------------------------------
[2010-11-01 21:23:17] [email protected]

Fixed, thanks !

------------------------------------------------------------------------
[2010-11-01 21:22:26] [email protected]

Automatic comment from SVN on behalf of lbarnaud
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=305016
Log: MFH Fix bug #52173 (ext/pcntl doesn't store/report errors)
(patch by nick dot telford at gmail dot com)

------------------------------------------------------------------------
[2010-11-01 21:10:19] [email protected]

Automatic comment from SVN on behalf of lbarnaud
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=305015
Log: Fix bug #52173 (ext/pcntl doesn't store/report errors) (patch
by nick dot telford at gmail dot com)

------------------------------------------------------------------------


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

    https://bugs.php.net/bug.php?id=52173


--
Edit this bug report at https://bugs.php.net/bug.php?id=52173&edit=1