Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Apr 2009 19:28:59 +0400
From:      oleg <ol@adlogic.ru>
To:        Alexandre Biancalana <biancalana@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: lightweight webserver that can run php
Message-ID:  <20090419152859.GA10450@adlogic.ru>
In-Reply-To: <8e10486b0904190645y4c77d68cid8bde56b54e291bf@mail.gmail.com>
References:  <49E97102.3030400@awdcomp.net> <27ade5280904181803w2f33e7ceu406d22a8667999b8@mail.gmail.com> <8e10486b0904190645y4c77d68cid8bde56b54e291bf@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <apseudoutopia@gmail.com> wrote:
> > On Sat, Apr 18, 2009 at 2:19 AM, Andrew <awd@awdcomp.net> 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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090419152859.GA10450>