Skip to content
This repository has been archived by the owner on Apr 20, 2018. It is now read-only.
/ debian Public archive

A easy-to-use, flexible vagrant setup for php which runs on virtualbox and vmware uses ansible.

Notifications You must be signed in to change notification settings

vagrant-php/debian

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vagrant-php/debian

Features

  • debian 8
  • nginx 1.8
  • php (5.6-original, 7.0, hhvm)

Switchable features

  • elasticsearch 1.7
  • freetds 0.91
  • mariadb 10.0
  • memcached 1.4
  • mongodb 3.0
  • nodejs 0.12
  • postgresql 9.4
  • redis 3.0.4
  • ruby 2.1.5

Installation

vagrant-php

register

important: call this only onces per project (initial setup).

cd /path/to/my/project
git submodule add -b 8 https://github.com/vagrant-php/debian.git vagrant-php

install

after checked out a prepared project or update to the version registred within the project.

cd /path/to/my/project
git submodule update --init -- vagrant-php

update

get the newest version of the vagrant-php submodule.

cd /path/to/my/project
git submodule update --remote -- vagrant-php

Configuration

vagrant.yml (within your project dir)

---
hostname: projectname.dev

for advanced configuration see the default configuration

supported application

  • bolt2
  • contao3
  • drupal7
  • drupal8
  • lavarel5
  • magento1
  • symfony1
  • symfony2
  • symfony3
  • wordpress4
  • shopware

supported sharetype

  • native
  • nfs
  • nfs-bindfs

supported php versions

If you d'like to change the php version, you need to run vagrant destroy and vagrant up.

  • 5.6-original
  • 7.0
  • hhvm

.vagrant-default-user.yml (within your home directory)

This yaml is for global user overrides.

vagrant-user.yml (within your project dir)

This yaml is for user overrides, do not commit this file within your project.

Run

The vagrant setup is in a subdir, which means you need to go there, and call all vagrant commands from there.

cd /path/to/my/project
cd vagrant-php
vagrant up
vagrant halt
vagrant suspend
vagrant resume
vagrant provision
vagrant ssh

Thanks

About

A easy-to-use, flexible vagrant setup for php which runs on virtualbox and vmware uses ansible.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages