Need help with Vagrant-LAMP-Stack?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

438 Stars 170 Forks 61 Commits 13 Opened issues


A dead-simple LAMP stack without any bells and whistles for your basic Linux/Apache/MySQL/PHP install.

Services available


Need anything else?

Contributors list

Vagrant LAMP stack

A dead-simple LAMP stack without any bells and whistles for your basic Linux/Apache/MySQL/PHP install, using Chef Solo for provisioning.

The idea is for developers to fork this and add additional software and configuration that suits the needs of their project.


Note: Vagrant 1.0.x compatible stack is also available.


Clone this repository

$ git clone [email protected]:MiniCodeMonkey/Vagrant-LAMP-Stack.git

Place your website in the



Start the VM

$ cd Vagrant-LAMP-Stack
$ vagrant up

You can now access your project at http://projectname.local

Screenshot of up-and-running server

Database dump import

Chef will automatically try to import the database dump specified by the filename set in the

option of your Vagrantfile.

If you are using the default configuration, just create a

file in the root directory with your table structure and/or content and it will be imported automatically when you run
vagrant up

Installed software

  • Apache 2
  • MySQL
  • PHP 5.4 (with mysql, curl, mcrypt, memcached, gd)
  • memcached
  • postfix
  • vim, git, screen, curl, composer

Default credentials


  • Username: root
  • Password: root
  • Host: localhost
  • Port: 3306

Note: Remote MySQL access is enabled by default, so you can access the MySQL database using your favorite MySQL client with the above credentials (and using e.g. projectname.local as hostname).


  • Port: 11211

Bitdeli Badge

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.