PHP can fork() and has done so …

PHP can fork() and has done so since 4.1.0!

If you have xwrits running and you’re on IRC, change your “away message” to tell the people who are waiting on your reply why you’re taking so long!

Google Zeitgeist

When writing init scripts using the Red Hat daemon function, if you’re starting up long running scripts that don’t go into the background themselves, use the following to start them:
daemon " &"
That’ll launch the script using initlog and pass the & along to initlog so that the init script can exit normally.

2 thoughts on “PHP can fork() and has done so …

  1. Aparentemente es asi, lo unico es que para qeu la función fork_pcntl funcione php tiene que estar instalado con la opción enable-pcntl. Aparentemente esta sería la unica manera para que estofuncione.

    Muchas gracias por el articulo pues me apuntó en la dirección correcta.

Leave a Reply

%d bloggers like this:

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.