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

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

License

Notifications You must be signed in to change notification settings

dominikzogg-legacy/vagrant-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECATED: please use vagrant-php/ubuntu.

dominikzogg/vagrant-php

Features

  • ubuntu 14.04
  • nginx 1.8
  • php (5.5, 5.6, 7.0, hhvm)

Switchable features

  • elasticsearch 1.7
  • freetds 0.91
  • java 7 (headless)
  • mariadb 10.0
  • memcached 1.4
  • mongodb 3.0
  • nodejs 0.12
  • postgresql 9.4
  • redis 3.0.4
  • ruby 2.1.5

Installation

Plugin

Hostmanager

vagrant plugin install vagrant-hostmanager

vagrant-php

register

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

cd /path/to/my/project
git submodule add -b v1-ubuntu https://github.com/dominikzogg/vagrant-php.git

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

  • bolt
  • contao
  • default
  • drupal
  • lavarel
  • symfony
  • wordpress

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.5-original
  • 5.5
  • 5.6
  • 7.0
  • hhvm

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

Troubleshooting

Thanks

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published