From owner-freebsd-questions@FreeBSD.ORG Sun Apr 19 15:44:45 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DCFD6106566C for ; Sun, 19 Apr 2009 15:44:45 +0000 (UTC) (envelope-from ol@adlogic.ru) Received: from xeonic.ru (xeonic.ru [92.63.104.21]) by mx1.freebsd.org (Postfix) with ESMTP id 3E9428FC0C for ; Sun, 19 Apr 2009 15:44:44 +0000 (UTC) (envelope-from ol@adlogic.ru) Received: from localh.lo (42.93.178.93.donpac.ru [93.178.93.42] (may be forged)) (authenticated bits=0) by xeonic.ru. (8.14.3/8.14.2) with ESMTP id n3JFSdJa029095 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 19 Apr 2009 19:28:40 +0400 (MSD) (envelope-from ol@adlogic.ru) Received: from localh.lo (localhost [127.0.0.1]) by localh.lo (8.14.3/8.14.3) with ESMTP id n3JFT1dx010494; Sun, 19 Apr 2009 19:29:01 +0400 (MSD) (envelope-from ol@adlogic.ru) Received: (from ol@localhost) by localh.lo (8.14.3/8.14.3/Submit) id n3JFT0ST010493; Sun, 19 Apr 2009 19:29:00 +0400 (MSD) (envelope-from ol@adlogic.ru) X-Authentication-Warning: localh.lo: ol set sender to ol@adlogic.ru using -f Date: Sun, 19 Apr 2009 19:28:59 +0400 From: oleg To: Alexandre Biancalana Message-ID: <20090419152859.GA10450@adlogic.ru> References: <49E97102.3030400@awdcomp.net> <27ade5280904181803w2f33e7ceu406d22a8667999b8@mail.gmail.com> <8e10486b0904190645y4c77d68cid8bde56b54e291bf@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8e10486b0904190645y4c77d68cid8bde56b54e291bf@mail.gmail.com> User-Agent: Mutt/1.4.2.3i X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (xeonic.ru. [92.63.104.21]); Sun, 19 Apr 2009 19:28:40 +0400 (MSD) Cc: freebsd-questions@freebsd.org Subject: Re: lightweight webserver that can run php X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Apr 2009 15:44:46 -0000 It says that distro available at php.net has a number of known problems related to using FastCGI SAPI in production servers. Also, it argues why using FastCGI SAPI along with php-fpm is a good idea. php-fpm addresses the following problems: 1. php daemonization 2. Process managing. Smooth php workers stop and restart without loosing queries. Smooth config refresh and binaries with no lost queries. 3. Banning IP addresses for the web server. 4. Running workers with different uid/gid/chroot/environment and different php.ini options. Safe mode is no longer required! 5. Logging stdout & stderr working processes. 6. Emergency restart of all processes in case shared memory opcode cache is destroyed and if accelerator is in use. 7. Forced halting of hanged processes if set_time_limit() does not work. There are also "special features" like Error header, Accelerated upload support, fastcgi_finish_request(), Slowlog() hth olv On Sun, Apr 19, 2009 at 10:45:51AM -0300, Alexandre Biancalana wrote: > On 4/18/09, APseudoUtopia wrote: > > On Sat, Apr 18, 2009 at 2:19 AM, Andrew wrote: > ... > > > > > > If you choose to run php via FastCGI, check out PHP-FPM. It's a patch > > that greatly speeds up php's FastCGI performance. It honestly does > > help significantly. There's a FreeBSD port in the "Archives Download" > > section of the website. > > http://php-fpm.anight.org/ > > Can you explain PHP-FPM ? Some parts of http://php-fpm.anight.org/ are > not written in english... > > Regards, > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"