Re: lightweight webserver that can run php

2009-04-19 Thread oleg
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 w

Re: lightweight webserver that can run php

2009-04-19 Thread Alexandre Biancalana
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 Do

Re: lightweight webserver that can run php

2009-04-18 Thread APseudoUtopia
On Sat, Apr 18, 2009 at 2:19 AM, Andrew wrote: > Hi All, > > Does anyone have any suggestions for a lightweight webserver that will run > php? > Apache is too bulky for what I need and thttpd won't allow me to run php. > > TIA > Andrew If you choose to run php via FastCGI, check out PHP-FPM. It's

Re: lightweight webserver that can run php

2009-04-18 Thread Mel Flynn
On Saturday 18 April 2009 16:34:52 Rodrigo Gonzalez wrote: > As a fastcgi not cgi, there is a differenceimportant one. > for cgi request a new php process is started for a request. > fastcgi is php listening for network requests and process can be reused. And the more important difference with

Re: lightweight webserver that can run php

2009-04-18 Thread Rodrigo Gonzalez
You are right, thanks for the information On 4/18/09, cpghost wrote: > On Sat, Apr 18, 2009 at 09:56:09AM -0400, Mikel King wrote: >> > Does anyone have any suggestions for a lightweight webserver that >> > will run php? >> >> Most light weight webservers like nginx and lighttpd only run PHP as a

Re: lightweight webserver that can run php

2009-04-18 Thread cpghost
On Sat, Apr 18, 2009 at 09:56:09AM -0400, Mikel King wrote: > > Does anyone have any suggestions for a lightweight webserver that > > will run php? > > Most light weight webservers like nginx and lighttpd only run PHP as a > cgi mod. With lighttpd, you can do both CGI and FastCGI: http://red

Re: lightweight webserver that can run php

2009-04-18 Thread Rodrigo Gonzalez
As a fastcgi not cgi, there is a differenceimportant one. for cgi request a new php process is started for a request. fastcgi is php listening for network requests and process can be reused. On 4/18/09, Mikel King wrote: > Most light weight webservers like nginx and lighttpd only run PHP as a

Re: lightweight webserver that can run php

2009-04-18 Thread Mikel King
Most light weight webservers like nginx and lighttpd only run PHP as a cgi mod. Cheers, m! On Apr 18, 2009, at 2:19, Andrew wrote: Hi All, Does anyone have any suggestions for a lightweight webserver that will run php? Apache is too bulky for what I need and thttpd won't allow me to run

Re: lightweight webserver that can run php

2009-04-18 Thread Rodrigo Gonzalez
lighttpd ngingx cherokee All of them can connect to php using fastcgi. lighttpd and cherokee will start php themself, nginx does not, so you should have to start it manuall or from other script... On 4/18/09, Andrew wrote: > Hi All, > > Does anyone have any suggestions for a lightweight webserv

Re: lightweight webserver that can run php

2009-04-18 Thread Michael Lednev
Andrew пишет: Hi All, Does anyone have any suggestions for a lightweight webserver that will run php? Apache is too bulky for what I need and thttpd won't allow me to run php. www/lighttpd and www/nginx(-devel) are definitely the most common choice ___

Re: lightweight webserver that can run php

2009-04-18 Thread Mel Flynn
On Saturday 18 April 2009 08:19:46 Andrew wrote: > Hi All, > > Does anyone have any suggestions for a lightweight webserver that will > run php? > Apache is too bulky for what I need and thttpd won't allow me to run php. nginx + php over cgi. lighttpd seems popular too, personally find nginx more

lightweight webserver that can run php

2009-04-18 Thread Andrew
Hi All, Does anyone have any suggestions for a lightweight webserver that will run php? Apache is too bulky for what I need and thttpd won't allow me to run php. TIA Andrew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailm