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

comp.graphics.apps.gimp

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 "script.sh &"
That’ll launch the script using initlog and pass the & along to initlog so that the init script can exit normally.


You might also like

If you like this post then please subscribe to my full RSS feed. You can also click here to subscribe by email. There are also my fabulous photos to explore too!

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

Loading Facebook Comments ...