Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
www
 
 
 
 
 
 
 
 
 
 

README.md

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

About

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

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.