Setup video: http://www.gregfreeman.io/2015/learning-php-7-setting-up-a-php-7-development-environment-with-xdebug/
Setup Instructions
- Create Vagrantfile
$ cp Vagrantfile.dist Vagrantfile
- Set VM configuration
$ vim Vagrantfile
ip = "192.168.5.5"
memory = 1024
cpus = 2
folders = [
# { "map" => "/path/to/mycode", 'to' => "/path/in/vagrant/mycode"},
]
- Add hosts entry
$ sudo vim /etc/hosts
192.168.5.5 php7play
- Vagrant up
$ vagrant up
- Test
Open http://php7play/
in your browser