Re: Apache to serve RESTful requests using PHP

From: Date: Sat, 09 Feb 2013 22:06:09 +0000
Subject: Re: Apache to serve RESTful requests using PHP
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-320175@lists.php.net to get a copy of this message
On Sat, Feb 9, 2013 at 12:21 PM, Stuart Dallas <stuart@3ft9.com> wrote: > On 9 Feb 2013, at 16:42, AmirBehzad Eslami <behzad.eslami@gmail.com> wrote: >> We're a developing a PHP-driven web service with a RESTful API, >> and we have a dedicated Linux server for that with 6GB of RAM. > I would personally recommend nginx + php-fpm over Apache + mod-php every time. The pre-request > memory footprint is massively reduced and I've seen nothing but upsides since migrating most of > my client's sites, and my own. +1 for nginx+php-fpm - the memory savings on this are incredible; while I keep using Apache as a general purpose server, nginx+php-fpm is really ideal for large scale php applications.

« previous php.general (#320175) next »