WordPress サイトに nginx を導入する : dogmap.jp. Support » nginx + php-fpm + PHP APC + WordPress multisite (subdirectory) + WP Super Cache. Hooray!
I've got WordPress multisite (subdirectory) working with nginx 0.8.54 with the static gzip module, php-fpm (FastCGI Process Manager - PHP 5.3.5), PHP APC (opcode cache - 3.1.6 or 3.1.7), and WP Super Cache (latest dev). I also made my nginx/php-fpm configuration generic enough that most people should be able to copy and paste and have it work for them as well - WITHOUT security vulnerabilities or other major issues.
I spent a good week on planning the configuration and then a few hours working out the bugs. I had significant help from people on the nginx IRC channel. Serious props to those good folks! If you don't know what nginx is, it is an alternate web/proxy server to Apache that is gaining in popularity. Now, you'll observe that this is a bit different from most nginx.conf files. If you look around the Internet, you can find various WordPress configs for nginx. . # Global restrictions configuration file. # Designed to be included in any server {} block. <? リクエストを落とさずにnginxをアップグレードする方法とその検証. 5月 23 はじめに nginxは頻繁に保守されていてどんどんバージョンが上がっていく一方で、UbuntuやWindows以外ではソースコードからビルドする方法が一般的だと思います。
Nginxのバージョンアップ頻度2011/05/10 1.0.22011/05/03 1.0.12011/04/12 1.0.02011/04/04 0.9.72011/03/21 0.9.6nginx CHANGESより LinuxやBSDの多くのディストリビューションではNginxがパッケージリポジトリに含まれており、通常のソフトウェアインストール手法でインストールする事ができます。 (Debianにおけるapt-getや、Gentooにおけるemerge、FreeBSDにおけるports、Fedora の yum、Vine Linux の apt-get など)たまにこれらのパッケージは古いものであったりすることがあるので気をつけてください。 上記のようにどのディストリビューションでもパッケージは用意されているものの、バージョンが古いことが多いですし、何よりも各機能を追加するモジュールがApache(httpd)と違ってスタティックな方式を採用しているので、用途に合わせてモジュールを追加したい場合は自分でビルドするしかありません。 Enable MultiSite in WordPress 3.0 - How to Create a Network. WordPress 3.0 signals the merge of WordPress and WordPress MU, and allows you to manage a network of sites in WordPress. In this post, I’ll show you how to enable the Network screen and the MultiSite features in WordPress 3.0.
You do not need to complete these steps if you are upgrading from WordPress MU. Follow the instructions here to upgrade from WordPress MU. You will need to perform these steps if you are upgrading from a standard pre-3.0 WordPress install and want to use the MultiSite features or on a new WordPress 3.0 install. Enable Network Menu Add the following line to wp-config.php: The Network menu under Tools will not show up until you complete this step. Create a Network Log in to the WordPress back-end and navigate to the Network screen under Tools.
Sub-domains: A sub-domain install allows you to have new sites as sub-domains of your WordPress installation. Sub-directories: A sub-directory install allows you to have new sites as sub-directories of your WordPress installation.