Reply to Re: Call to undefined function: pcntl_fork() in php-cgi 4.3

Your name:

Reply:


Posted by Chris Hope on 09/22/05 04:58

cmarvel@nethere.com wrote:

> I have a script using php-cgi 4.3 module. The script attempts to
> use
> the pcntl_fork() call but gets the error message "call to undefined
> function: pcntl_fork()" instead. Anyone know what's going on?
> I have Apache 2.0+, Php-cgi 4.3 Mandrake Linux 9.1.
> Here is my fork.php script:

[snip]

The pctnl_* functions are not compiled in by default. You'll probably
need to compile it yourself to have access to these functions.

Also note the following from http://www.php.net/manual/en/ref.pcntl.php

"Process Control should not be enabled within a webserver environment
and unexpected results may happen if any Process Control functions are
used within a webserver environment."

--
Chris Hope | www.electrictoolbox.com | www.linuxcdmall.com

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация