News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevShed:
Managing Standalone Scripts in PHP
September 07, 2006 @ 16:19:52

DevShed continues their look at standalone PHP scripts (server-side scripting, not on the web) in part two, "Managing Standalone Scripts in PHP" excerpted from the book "Advanced PHP Programming" from George Schlossnagle.

Last week, we began our discussion of PHP standalone scripts. This week, we'll be talking about child processes, shared resources, signals, and writing daemons.

They jump right in, going first for a look at forking off child processes from the script using the pcntl functionality you'll need to build into PHP. Resource management is key to working with server scripts, and they show you how to close them out when you're through. Next up is a brief look at the types of signals that you can send to the child processes, and some good rules to follow for writing daemons in PHP.

0 comments voice your opinion now!
standalone script serverside daemon signal resources standalone script serverside daemon signal resources


blog comments powered by Disqus

Similar Posts

SitePoint PHP Blog: PHP Frontend for Xdebug Profiling?

Ed Eliot's Blog: Automatic merging and versioning of CSS/JS files with PHP

PHPit.net: Creating a \"Who\'s Online\" script with PHP

DevShed: Managing Standalone Scripts in PHP

L2Admin.com: Battle of the server side scripting languages - Perl, Python & PHP


Community Events





Don't see your event here?
Let us know!


list symfony api tips interview introduction language code release community voicesoftheelephpant bugfix series zendserver podcast threedevsandamaybe deployment laravel conference framework

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework