Daemonizing PHP

Andy Blyler (Barracuda Networks), Jonathan Kuperman (Twitter)
Location: D139/140 Level: Intermediate
Average rating: **...
(2.00, 2 ratings)
Slides:   external link

In this talk we will discuss the advantages of daemonizing PHP, especially when combined with a PHP based web frontend. You will discover how easy it is to implement core daemon related functionality: forking, signal handling, sockets, and IPC. In this session we will go over:

Background of Why We Chose PHP

How We Use PHP

Techniques Involved in Daemonizing PHP

  • Forking
  • Signal Handling
  • Network Sockets
  • Interprocess Communication

Come prepared to learn, as we will be sharing code and stories from our experiences. This session will give you a great foundation or expand your existing knowledge when it comes to creating PHP daemons.

Photo of Andy Blyler

Andy Blyler

Barracuda Networks

Andy is a husband, programmer, system administrator, entrepreneur, musician, private pilot, & optimist. He is the lead engineer on the Barracuda Networks Backup product.

Photo of Jonathan Kuperman

Jonathan Kuperman


Jon Kuperman is a web developer at Twitter, currently living in San Francisco. He is passionate about Open Source Software and the open web. He spends most of his free time learning, reading, blogging and teaching.

Comments on this page are now closed.


Picture of Andy Blyler
Andy Blyler
07/25/2013 4:31am PDT

We’ve published our slides at: http://ablyler.github.io/daemonizing-php

Thanks everyone for coming to our talk! It was exciting to hear all the interest there is in using PHP for backend processes. Be sure to checkout our newly open source PHP forking library @ https://github.com/barracudanetworks/forkdaemon-php


Sponsorship Opportunities

For information on exhibition and sponsorship opportunities at the conference, contact Sharon Cordesse at (707) 827-7065 or scordesse@oreilly.com.

Contact Us

View a complete list of OSCON contacts