Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP Laravel 4 Basics Getting Started with Laravel Installing VirtualBox & Vagrant

Marilyn Wagner
Marilyn Wagner
6,666 Points

Hi, I have MAMP on my MacBook Air and want to install Laravel and virtual box. Is it OK if I don't install LAMP?

no details to add...thanks!

2 Answers

Edward Burton
Edward Burton
8,296 Points

Hi Marilyn,

MAMP is essentially LAMP but just on different operating systems.

The nice thing about Laravel is that it has its own virtual environment you can use called Homestead. Homestead is fairly easy to set and use and is well documented on www.laravel.com. So if you are using Virtual Box, Vagrant and Homestead you won't need to worry about setting up the LAMP server as this is done for you.

If you already have MAMP installed then you actually don't need to install Vagrant Box or Vagrant if your happy with using your MAMP as your main environment. You can set the MAMP php as your main php in the terminal fairly easily. Also if you have MAMP Pro it's very easy to set up hosts to allow you to use http://test.dev which will be directed to your larval public folder. This is one of the features of MAMP Pro.

I hope that helps a little.

Let me know if I can help further with MAMP as this is what I use for most of my Laravel based applications.

Ricky Catron
Ricky Catron
13,023 Points

I am pretty sure MAMP is LAMP based. I'm not sure of the differences. Hope I helpped a little.