https://github.com/vikbert/vagrant-php7-symfony2
Complete development environment for PHP7 projects, including Symfony2, Apache2.4, Nginx, MySQL 5.6, Redis.
https://github.com/vikbert/vagrant-php7-symfony2
Last synced: 8 months ago
JSON representation
Complete development environment for PHP7 projects, including Symfony2, Apache2.4, Nginx, MySQL 5.6, Redis.
- Host: GitHub
- URL: https://github.com/vikbert/vagrant-php7-symfony2
- Owner: vikbert
- Created: 2016-09-15T08:55:19.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-09-17T19:13:45.000Z (over 9 years ago)
- Last Synced: 2025-06-24T20:49:08.718Z (9 months ago)
- Language: PHP
- Size: 794 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Summary
`vagrant php7 symfony` is a Debian 8 virtual box, which is preconfigured for testing PHP5, PHP7 Symfony apps and developing extensions across many versions of PHP. It contains many essential development packages, which are common used
in Symfony project.
## 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](#manual-install) instructions or use git-bash.
Otherwise for UNIX and UNIX-like users just clone and go. Like this:
```
$ git clone https://github.com/rlerdorf/vagrant-php7-symfony2.git
...
$ cd vagrant-php7-symfony2
...
$ vagrant up
...
$ vagrant ssh
```
Add this to your hosts file on the hostmachine:
```
192.168.7.7 php7default
```
To view the demo application, go to `http://php7default` in the browser.g

## Create the first Symfony standard App
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
