Wp Vagrant

WordPress Vagrant boxes for testing PHP 5.3, 5.4, and 5.5
Alternatives To Wp Vagrant
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Vvv4,554
15 days ago109mitShell
An open source Vagrant configuration for developing with WordPress
Trellis2,426
a day ago23mitJinja
WordPress LEMP stack with PHP 8.1, Composer, WP-CLI and more
Yeopress1,103453 years ago41December 02, 201950otherJavaScript
A Yeoman generator for WordPress
Vv1,052
6 years ago42gpl-2.0Shell
:globe_with_meridians: Variable VVV - a VVV Site Creation Wizard
Vagrantpress747
6 years ago26mitPuppet
A WordPress Development Environment With Vagrant/Puppet
Genesis Wordpress664
66 years agoDecember 13, 20169mitRuby
Rapidly create, develop, & deploy WordPress across multiple environments.
Chassis624
16 days ago29lgpl-3.0PHP
📦 Chassis is a virtual server for your WordPress site, built using Vagrant.
Wocker482
2 years ago2June 29, 20219mitShell
Create your WordPress development environment in 3 SECONDS!
Wpdistillery274
4 years ago3otherShell
WordPress Setup runner for Scotch Box
Vip Quickstart274
6 years ago78gpl-2.0PHP
Retired
Alternatives To Wp Vagrant
Select To Compare


Alternative Project Comparisons
Readme

WordPress Vagrant Boxes

While we're fans of the popular VVV project, this Vagrant configuration takes a different approach. We like to think that VVV is great for up-to-date development tools, working on plugins and themes, and building entirely new websites. However, this configuration was built for the purpose of testing and debugging mostly WordPress core, and ensuring compatibility with older (but still supported) server configurations.

This configuration also doesn't make any assumptions about your preferred development workflow. It does not checkout or install WordPress at all. It's up to you if you would like to unpack and install a ZIP, checkout from SVN, or clone from git. However, the web server is preconfigured to look for WordPress in a specific location.

Configurations Provided

wordpress-php53

  • Ubuntu 12.04 (precise)
  • Apache 2.2.22 (suPHP, port 80 and 443)
  • PHP 5.3.10
  • PHP Extensions: curl, gd, imagick, mcrypt, mysql, xdebug
  • PHPUnit 4.8.36
  • MySQL 5.5.50
  • Subversion 1.6.17, Git 1.7.9.5
  • Node.js 6.12.0, Grunt

wordpress-php54

  • Debian 7.8 (wheezy)
  • Apache 2.2.22 (suPHP, port 80 and 443)
  • PHP 5.4.45
  • PHP Extensions: curl, gd, imagick, mcrypt, mysql, xdebug
  • PHPUnit 4.8.36
  • MySQL 5.5.50
  • Subversion 1.6.17, Git 1.7.10.4
  • Node.js 6.12.0, Grunt

wordpress-php55

  • Ubuntu 14.04 (trusty)
  • Apache 2.4.7 (suPHP, port 80 and 443)
  • PHP 5.5.9
  • PHP Extensions: curl, gd, imagick, mcrypt, mysql, xdebug
  • PHPUnit 4.8.36
  • MySQL 5.5.50
  • Subversion 1.8.8, Git 1.9.1
  • Node.js 6.12.0, Grunt

Getting Started

  1. Install both VirtualBox and Vagrant.
  2. Clone this repository to a convenient location for your development:
    • git clone https://github.com/tierra/wp-vagrant.git
    • cd wp-vagrant
  3. Check out (or clone) the develop repo to the wordpress folder:
    • svn checkout https://develop.svn.wordpress.org/trunk wordpress or
    • git clone git://develop.git.wordpress.org/ wordpress
  4. Add the following to your hosts file:
    • 192.168.167.10 wordpress-php53.local
    • 192.168.167.11 wordpress-php54.local
    • 192.168.167.12 wordpress-php55.local
  5. Start Vagrant: vagrant up [box]
    • Without naming a box, just the wordpress-php55 box will be started. Specify wordpress-php53, or wordpress-php54, to start up instead.

Note that Apache is configured to point to the wordpress/build directory, so you need to remember to run grunt from the WordPress directory after checking out the code. Optionally, you could also just install WordPress normally inside the wordpress/build directory without using the develop repository. All boxes are pre-configured with Node.js and Grunt, so if you don't have these tools installed locally, you can just SSH into the box, and run the following:

cd /vagrant/wordpress && npm install && grunt

With any of the boxes started, you can reach them at these locations:

MySQL Configuration

The MySQL root password is "wordpress", and all boxes come with two pre-configured databases:

  • wordpress (this is meant for a regular installation)
  • wordpress-tests (this is meant for use with PHPUnit tests)

A single account with rights to all databases for convenience:

  • Username: wordpress
  • Password: wordpress
Popular Vagrant Projects
Popular Wordpress Projects
Popular Virtualization Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Php
Mysql
Wordpress
Vagrant
Grunt
Puppet
Phpunit
Xdebug
Imagick