Skip to content

Complete development environment for PHP7 projects, including Symfony3, Apache2.4, Nginx, MySQL 5.6, Redis.

Notifications You must be signed in to change notification settings

vikbert/vagrant-php7-symfony3

Repository files navigation

Summary

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.

Before Installation

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.

1. Start Vagrant Box

$ git clone https://github.com/vikbert/vagrant-php7-symfony3.git
$ cd vagrant-php7-symfony3
$ vagrant up
$ vagrant ssh

2. Config the /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

phpinfo page

3. Create new Symfony Websites

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

Symfony 3 standard project

About

Complete development environment for PHP7 projects, including Symfony3, Apache2.4, Nginx, MySQL 5.6, Redis.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published