On Wed, May 16, 2012 at 02:45:24PM +0300, tza...@it.teithe.gr wrote: > > In this case Apache is a good choice. I would however recommend using > > www/nginx and PHP in FastCGI mode (FPM option in lang/php5 port). This > > is a preffered setup for almost all Russian highloaded websites. > > At the beginning using Apache is a reasonable choice. > > I have never used nginx before. I have considered also the lighttpd. > Both with BSD licenses (nginx with a 2-clause BSD like license) and > FastCGI support. As I read from Wikipedia, PHP performance has > received special attention in lighttpd. I will test both Web servers > and then I will make up my mind.
I think the HTTP server is not a big deal unless there is a really useful feature in one that the other doesn't provide. Most of the work will be done by the PHP backend anyway. >From an architectural point of view, best practices nowadays are leaning toward external PHP processes with FastCGI, as described by Ilya. There are alternatives to FPM, such as sysutils/py-supervisor. I don't know who will be administrating this server in the end, but I think it would be good to ask the FreeBSD webmaster team opinion though. -- Jeremie Le Hen Men are born free and equal. Later on, they're on their own. Jean Yanne _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"