ブログ記事に執筆しましたが、このVagrantfileを使えば瞬殺です。
https://github.com/yandod/php5-nginx-vagrant-sample
git clone https://github.com/yandod/php5-nginx-vagrant-sample.git
cd php5-nginx-vagrant-sample
vagrant up
スタック構成は下記の通りです。
OS | Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic x86_64) |
---|---|
PHP | PHP 5.3.10-1ubuntu3.6 with Suhosin-Patch |
Nginx | 1.1.19 |
MySQL | 5.5.31-0ubuntu0.12.04.2 (Ubuntu) |