josevillalobos / vagrant-symfony2-box

A Vagrant build to run a Symfony2 development LAMP stack (Nignx, Mysql, Phpmyadmin, PHP-5.5.9, Node.js, Sass, Compass, Less, Composer, OpenJDK, Imagic, ...) on a vmware or virtualbox provider.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#Vagrant Symfony 2 Box setup

Requirements

Installation

####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

Installed components

SYMFONY2 + nginx CONF

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;

About

A Vagrant build to run a Symfony2 development LAMP stack (Nignx, Mysql, Phpmyadmin, PHP-5.5.9, Node.js, Sass, Compass, Less, Composer, OpenJDK, Imagic, ...) on a vmware or virtualbox provider.


Languages

Language:Puppet 47.4%Language:Ruby 37.5%Language:Shell 6.5%Language:PHP 6.2%Language:CSS 2.3%