[arch-dev-public] Moving from fcgid+php-cgi to fastcgi+php-fpm
pierre at archlinux.de
Tue Dec 14 08:46:08 EST 2010
On Mon, 13 Dec 2010 17:05:29 +0100, Pierre Schmitz
<pierre at archlinux.de> wrote:
> On Mon, 13 Dec 2010 10:00:17 -0600, Dan McGee <dpmcgee at gmail.com>
>> If you don't need to switch it all at once, maybe trial it with bugs
>> first (being a lower traffic subsite), work out the kinks, and then
>> roll it out to everything. But otherwise no objections.
> Sure, forgot to mention it. I guess I'll start with websvn as its
> probably the least important site we have. I hope one can use fcgid and
> fastcgi at the same time and there are no conflicting config values.
I just finished moving everything to php-fpm. I have also updated to
PHP 5.3.4. Some other etails:
* Use /etc/rc.d/php-fpm reload to restart the php processes
* config files are in /etc/php/fpm.d
* The wrapper scripts in /srv/http/cgi-bin are no longer used
* for more see the git logs
Let me know if there are any problems. (except websvn; that was already
broken when I touched it) We might need to fine tune the number of
processes etc.; we'll see.
Pierre Schmitz, https://users.archlinux.de/~pierre
More information about the arch-dev-public