#Vagrant Symfony 2 Box setup
- VirtualBox
- Vagrant
- vagrant-hostmanager
vagrant plugin install vagrant-hostmanager
####This setup is based and tested with Ubuntu Precise 64 bit base box, with Vagrant 1.5.1 version
Clone this repository
```$ git clone https://github.com/josevillalobos/vagrant-symfony2-box.git```
-
run vagrant (for the first time it should take up to 30-60 min)
$ vagrant up
-
Web server is accessible with http://www.symfony-box.local (Host address can be changed in Vagrantfile)
-
PhpMyAdmin is accessible with http://www.symfony-box.local/phpmyadmin
-
Vagrant automatically setups database with this setup:
- Username: root
- Password: root
- Database: symfony
- Nginx
- MySQL
- PHP-FPM
- PhpMyAdmin
- MongoDB
- Redis
- GiT
- Composer
- Vim
- PEAR
- cURL
- Node.js
- npm
- less
- OpenJDK
- sass
- Compass
- Imagic
- Capistrano
- Capifony
- phpqatools
- memcached
For nginx not to overwrite Symfony2 errors just change this configuration in nginx configuration files:
-> proxy_params
proxy_buffer_size 128k; proxy_buffers 4 256k; proxy_busy_buffers_size 256k;
-> fastcgi_params
fastcgi_buffer_size 128k; fastcgi_buffers 4 256k; fastcgi_busy_buffers_size 256k;