Skip to content

A PHP vagrant sandbox with multiple provisioners to choose from

Notifications You must be signed in to change notification settings

aosvaldtRS/sandbox-php

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sandbox-php

This is a basic PHP sandbox with no external dependencies or external modules. It has:

  • Nginx+PHP5-fpm OR Apache+PHP (default is Nginx)
  • MySQL
  • Composer
  • Configurable system packages and PHP modules

Provisioning is available with:

  • Ansible
  • Puppet
  • Chef

Where Ansible is the default. To change to other provisioner, just edit the Vagrantfile and comment / uncomment the necessary blocks.

After provisioning with vagrant up, the VM will be live at 192.168.33.101 (you can access it through your browser and you should see a phpinfo() output).

###Vagrant focused The provisioning is very straightforward, focused on Vagrant environments, following the same schema in all the provisioners (so you can compare them). It serves as a good starting point for building PHP dev boxes on Vagrant, to learn the basics about these automation tools, and to experiment with the 3 most used Vagrant provisioners.

###Note about Ansible You'll need to install ansible before you can use this provisioner. Ubuntu users: you can use this ppa: https://launchpad.net/~rquillo/+archive/ansible.

###Note about NFS for Ubuntu users You'll need to install nfs-common and nfs-kernel-server.

About

A PHP vagrant sandbox with multiple provisioners to choose from

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 38.6%
  • Puppet 36.3%
  • HTML 16.8%
  • Smarty 7.5%
  • PHP 0.8%