Skip to content

Sets up a basic PHP development box using vagrant based on Ubuntu Precise with Nginx, php-fpm, MongoDB, ...

Notifications You must be signed in to change notification settings

mattcarp/symfdevbox

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Set up a PHP development box super fast

Installation

  • Install vagrant using the installation instructions in the Getting Started document
  • Vagrant is setup to use an Ubuntu Precise 64 box. If you haven't already cloned one on your machine, it will retrieve one for you.
  • Clone this repository
  • Install submodules with git submodule update --init
  • After running vagrant up the box is set up using Puppet (you may have to run vagrant reload to make sure all dependencies are installed)
  • You should now have your working Symfony2 Standard Edition under http://localhost:8181/app_dev.php
    • You may need to comment out the if (isset($_SERVER['HTTP_CLIENT_IP']) block in web/app_dev.php (usually around line 11).

Installed components

Debugging

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

.. code-block:: sh

$ export XDEBUG_CONFIG="idekey=netbeans-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

  • Install and configure xhprof

About

Sets up a basic PHP development box using vagrant based on Ubuntu Precise with Nginx, php-fpm, MongoDB, ...

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Puppet 62.8%
  • Ruby 36.9%
  • PHP 0.3%