Skip to content

Vagrant config for PHP 7 / 5.6, Debian 8, Apache, Nginx, MySQL 5.7

Notifications You must be signed in to change notification settings

a-h-abid/vagrant-php7

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Vagrant PHP 7 Box

A setup and provisioning script for the lightweight PHP 7 Vagrant box. Run your PHP applications in an extremely performant Vagrant Debian/PHP 7 environment.

Installed with

  • Debian 8 (Jessie)
  • PHP 7
  • PHP 5.6
  • PHP-FPM
  • MySQL 5.7
  • Apache
  • Nginx
  • Memcached
  • Redis
  • Node.js
  • NPM
  • Grunt
  • Gulp
  • Bower
  • Composer

How to use

Map the folders you'd like to sync with Vagrant in the config.yaml file. By default, if you place this in the root of your project, it will use that folder. Choose your PHP version and preferred server (defaults to PHP 7 and nginx).

Run vagrant up. That's all.

MySQL

You can access the MySQL instance through SSH, credentials as follows:

MySQL Host: 127.0.0.1
Username: root
Password: root
Port: 3306

SSH IP: {your-ip}
SSH User: vagrant
SSH Password: vagrant
SSH Key: ~/.vagrant.d/insecure_private_key (this may be different depending on your environment)
SSH Port: 2222

About

Vagrant config for PHP 7 / 5.6, Debian 8, Apache, Nginx, MySQL 5.7

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages