Vagrant php7 symfony3
is a Debian 8 virtual box, which is preconfigured for testing PHP7, Symfony 3 apps and developing extensions across many versions of PHP. It contains many essential development packages, which are common used
in Symfony project.
Make sure that you are at least at Vagrant version 1.7.x and virtualbox 5.x
If you are on Windows use the Manual Install instructions or use git-bash.
$ git clone https://github.com/vikbert/vagrant-php7-symfony3.git
$ cd vagrant-php7-symfony3
$ vagrant up
$ vagrant ssh
/etc/hosts
Add this to your hosts file on the hostmachine, for example on my MacbookPro machine
192.168.7.7 php7default
To view the demo application, go to http://php7default
in the browser.g
added Symfony app name php7symfony
as server alias to /etc/hosts
on the host machine
192.168.7.7 php7symfony php7symfony.local
create Symfony App named php7symfony
in vagrant machine
$ vagrant ssh
$ cd /vagrant/scripts
$ sudo ./create-sites-symfony.sh php7symfony
Check the URL http://php7symfony
in the browser