# undefined function pcntl_fork

- Thread: https://externals.io/message/49628
- Original archive: https://news-web.php.net/php.internals/49628
- Started by Bharat Nagwani on 2010-09-13T16:59:12+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #49628 — Bharat Nagwani — 2010-09-13T16:59:12+00:00

URL: https://externals.io/message/49628#49628

Hello,

I am getting this error when using pcntl_fork. The OS is bsd and php ver is 5.2.3 used in cgi mode.

Fatal error: Call to undefined function `pcntl_fork()` in...

I have included the ext/pcntl files in the php make. Do I need another flag/library to include pcntl?

Thanks

---

## #49630 — Brian Moon — 2010-09-13T17:02:18+00:00

URL: https://externals.io/message/49628#49630 · In reply to: #49628

> Hello,
>
> I am getting this error when using pcntl_fork. The OS is bsd and php
> ver is 5.2.3 used in cgi mode.
>
> Fatal error: Call to undefined function `pcntl_fork()` in...
>
> I have included the ext/pcntl files in the php make. Do I need
> another flag/library to include pcntl?
>
> Thanks

This list is for the development of PHP itself and not for PHP support 
questions. Please try the General mailing list.

-- 

Brian.
--------
http://brian.moonspot.net/
