2008
PEAR :: Package :: System_Daemon
by kasi77 (via)System_Daemon is a PHP class that allows developers to create their own daemon
applications on Linux systems. The class is focussed entirely on creating
spawning standalone daemons, and for example includes:
1. Methods to generate OS-specific startup-files (init.d) (currently only
Debian/Ubuntu are supported), so that your application gets started on
reboot as well.
2. Methods for logging purposes
3. Simple syntax
4. Support for PEAR's Log package
5. Can run with or without PEAR (PEAR adds more elegance & functionality)
6. Default signal handlers, but optionally reroute signals to your own
handlers.
7. Log levels comply with PEAR_LOG_ levels but are called SYSTEM_DAEMON_LOG_
for (in)dependency reasons
8. Set options like max RAM usage
Une alternative à http://www.glagla.org/weblog/2007/11/05/programmer-un-demon-en-php/
Installing Lighttpd With PHP5 And MySQL Support On Debian Etch | HowtoForge - Linux Howtos and Tutorials
by camel & 1 otherLighttpd is a secure, fast, standards-compliant web server designed for speed-critical environments. This tutorial shows how you can install Lighttpd on a Debian Etch server with PHP5 support (through FastCGI) and MySQL support.
2007
2006
Gentoo Linux Documentation -- Configure Apache to work with PHP4 and PHP5
by nhoizey (via)There are many ways to make Apache work with two PHP versions in parallel. The easiest way is to use PHP4 and PHP5 as a CGI binary, or PHP4 as CGI binary and PHP5 as Apache module (or the other way around).
2005
Setting up PHP5 in parallel with PHP4 in SuSE 9.2
by fredbirdSuSE 9.2 ships with Apache2 and PHP4. In order to install PHP5 some extra work is therefore required. This Mini-HOWTO explains how to setup PHP5 in parallel with PHP4 and also how to easily switch between PHP4 and PHP5 on the same server using Apache2 and also how to maintain different ini-files for PHP4 and PHP5.
1
(8 marks)