Core dumps are often used to diagnose or debug errors in Linux or UNIX programs. Core dumps can serve as useful debugging aids for sys admins to find out why Application like Lighttpd, Apache, PHP-CGI or any other program crashed. Many vendors and open source project author requests a core file to troubleshoot a program. A core file is generated when an application program abnormally terminates due to bug, operating system security protection schema, or program simply try to write beyond the area of memory it has allocated, and so on. This article explains how to turn on core file support and track down bugs in programs.
You can provide each user or domain its own php.ini file. There are two basic ways to provide each user a php.ini file: a) Setup chrooted jail for each domain and user will get /etc/php.ini inside each jail b) Setup individual fastcgi instance for each domain along with php.ini Let us say you have two […]
Lighttpd allows you to run php from different hosts. This is quite useful: a] If you want to run php 4 locally and php 5 from remote host b] Load balancing dynamic content c] Added layer for security for chrooted jails etc If you would like to run wikipedia / sf.net like site, you can […]
I have received many queries regarding how to configure and install Lighttpd web server under Red Hat Enterprise Linux version 4.0. Mark asks: RHEL 64 bit v4.0 does not support PHP as FastCGI. Lighttpd is not available from RHN (up2date command). How do I configure and install lighttpd with FastCGI? Ok let me answer these […]
FastCGI is a language independent, scalable, open extension to CGI that provides high performance without the limitations of server specific APIs. FastCGI provides better scalability and performance. Instead of creating a new process (the CGI program) for every request, FastCGI uses a single persistent process which handles many requests over its lifetime. (See wikipedia article […]