All Projects → pipe-devnull → vagrant-dev-lamp

pipe-devnull / vagrant-dev-lamp

Licence: other
Base LAMP (PHP) stack with vagrant that includes remote debugging, profiling with xhprof and other common PHP QA tools.

Programming Languages

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

vagrant-dev-lamp

Base LAMP (PHP) stack with vagrant that includes remote debugging, profiling with xhprof and other common PHP QA tools.

Spec

  • Apache
    • mod_rewrite
    • mod_php
    • Main virtualhost set up
      • Document root /vagrant/www/ (synched VM folder)
      • Name lampdev
      • port 80
    • xhprof virtualhost
      • Document root /var/xhprof/
      • Name xhprof
      • port 8000
  • MySQL
  • PHP
    • APC op-code cache
    • PEAR
    • PHP QA tools (phpunit, phpdoc, code sniffer etc.)
    • XDebug - setup for remote debugging
    • xhprof - PHP profiler, auto enabled for all PHP files served from /vagrant/www/
  • Basic utilities
    • curl
    • vim
  • Networking
    • VM Port 80 (http) traffic forwarded to port 8888 on host - point your browser at localhost:8888
    • VM Port 22 (ssh) traffic forwarded to port 2222 on host - ssh to localhost:2222
    • VM Port 22 (ssh) traffic forwarded to port 9000 on host - ssh to localhost:9001
    • VM Port 22 (ssh) traffic forwarded to port 8000 on host - ssh to localhost:8000

Quick Guide

Pre-requisites:
1. Install Virtualbox
2. Install vagrant

You can use an alternative base box if you wish otherwise it will default to Ubuntu precise64

Then ...

# Clone the Vagrant LAMP stack configuration
git clone --recursive https://github.com/pipe-devnull/vagrant-dev-lamp.git
# enter the cloned directory
cd vagrant-dev-lamp
# Build the VM using vagrant
vagrant up
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].