Vagrant Developer Environment for php with xdebug

preview_player
Показать описание
I show how to get vagrant and php with dexug up and running . I use a windows machine but feel free to use a mac or linux machine.

Instructions:
Things you will need to install for the class:

Windows:
Macintosh:

Open notepad as an admin and go to C-Windows-system32-drivers-etc
Select all files and select the host file

Add line below to your host file and save
Create a tutorials folder inside your personal folder
Unzip the files in your vagrant download
(you will need to create tutorial folder)
Then create a folder call Code
Then Open GIT BASH Command line and type ~/tutorial
Then type vagrant up
Then wait about 15 minutes

Go to tools - plugins and select the avialable plugins
Install these:
php
composer
symfony 2
twig
doctrine 2

Then right click on the project and go to run configuration
Follow the video and setup your xdebug.

To change xdebug to not stop on the first line go to tools - options - php - and uncheck the first line.
Рекомендации по теме
Комментарии
Автор

Pronounced "puff-it" :) Like Warren Buffet.

JuanTreminio
join shbcf.ru