Giter Club home page Giter Club logo

vagrant-centos6-php's Introduction

Vagrant CentOS6 PHP Development Environment

日本語

This project sets up a CentOS 6.5 (64bit) virtual machine to run your PHP project in. It mounts your PHP project directory so that you can use your favorite editors to work.

Requirements

Tested

  • Ubuntu 14.04 - VirtualBox 4.3.18 & Vagrant 1.6.5 & Git 1.9.1
  • Mac OS X 10.10.1 - VirtualBox 4.3.18 & Vagrant 1.6.5 & Git 1.9.3

What's in the Development Environment?

Some of the following are including using Chef Opscode repositories.

  • PHP 5.5
    • Xdebug
    • Zend OPcache
    • APCu
  • Apache 2.2
    • vhost setup for your PHP project
  • MySQL 5.1
    • php_dev and php_test databases
  • phpMyAdmin 4.0
  • PHPUnit 4.4
  • Composer
  • Git 1.7.1
  • MailCatcher

Optional

Enable configure in Vagrantfile.

  • MongoDB 2.6
  • Redis 2.4
  • Beanstalkd 1.9
  • Elasticsearch 1.4
  • Jenkins
  • PHP (You can install only one PHP version)
    • PHP 5.6
    • PHP 5.4

You can choose your favorite framework. (You can choose only one)

  • CodeIgniter
  • FuelPHP 1.x
  • Phalcon 1.x / 2.x

Suggesting Setup & Layout

Add this vagrant-centos6-php to your project:

$ git submodule add [email protected]:kenjis/vagrant-centos6-php.git vagrant
$ cd vagrant
$ vagrant up

Setup your directories something like this:

project/
├── public/
└── vagrant/

Accessing Your Project

Vagrant

Here are common commands:

  • vagrant up starts the virtual machine and provisions it
  • vagrant suspend will save the current running state of the machine and stop it
  • vagrant halt attempts a graceful shutdown of the machine
  • vagrant ssh gives you SSH access to the virtual machine
  • vagrant destroy will destroy the machine
  • vagrant status shows status of the machine
  • vagrant global-status shows status of all virtual machines

More in http://docs.vagrantup.com/v2/

Thanks to

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.