All Projects → soerenmartius → vagrant-symfony2-nginx-php54fpm-dev-box

soerenmartius / vagrant-symfony2-nginx-php54fpm-dev-box

Licence: other
Vagrant Precise Development Box with Nginx and PHP 5.4 for Symfony2 Development

Programming Languages

Puppet
460 projects
PHP
23972 projects - #3 most used programming language

This repository is outdated and not maintained anymore ( we have docker now :) )

Vagrant 1.6.3 Symfony2 Development box with Nginx and PHP 5.5

Installation

this box is only tested with ubuntu precise 64 bit

  • Install vagrant version 1.6.3 using the installation instructions in the Getting Started document
  • Add a Ubuntu Precise box using the available official boxes, for example: vagrant box add phpdevbox http://files.vagrantup.com/precise64.box
  • Clone this repository
  • Install submodules with git submodule update --init
  • After running vagrant up the box is set up using Puppet
  • Webserver should be available under http://localhost:1337
  • for special symfony2 settings please edit nginx conf files in files/nginx/

Installed components

Composer

Composer is installed globally. Just run composer command in your cli.

$ composer self-update

Debugging

If you want to debug your cli application using xdebug for example with Phpstorm just run this command before executing the cli app:

.. code-block:: sh

$ export XDEBUG_CONFIG="idekey=phpstorm-xdebug remote_host=192.168.33.1 profiler_enable=1 default_enable=1 remote_enable=1 remote_handler=dbgp remote_port=9000 remote_autostart=0"

TODO

  • switch between apache and nginx
  • detailed vhost configuration with hostnames
  • add more php extensions
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].