I always lik to have one in my home directory, but you can put it whereever you like. it'll make browsing to your site easier, and also application configuration will be more standard.Īlso configuring a more personal document root for Apache is nice too. Reset your MAMP ports to the application defaults. It will mean your URL’s all look normal and your mysql setup in applications like Magento or Drupal will be more standard though. You’ll want application default ports, rather then the MAMP defaults, this will mean your MAMP needs to run on protected ports, and thus you’ll need elevated priveleges to run it. If you are installing MAMP on a macbook, you probably have this already. My configuration will mean you need root access (well, you’ll need sudo access – same diff) on your macbook. Go to preferences, I’ll just show you how I configure it quickly, you obviously don’t have to configure it this way, but I think it helps later when setting up your development environment. You will want to edit the preferrences to start with. When it starts you’ll be presented with a dialog like this: The initial MAMP console. Drag the MAMP folder onto the Applications folder, if you didn't know this, I wonder if installing a web server and database server might be a few steps ahead of what you should be trying to do? Step 3: Configure MAMPĪfter installing you can run MAMP any number of ways, you could navigate to the APplications folder in Finder and double click it, or just open spotlight (ctrl + space bar) and start typing ‘MAMP’ then just push enter when it find it, as a top hit. It feels kind of moronic even writing this, but incase there are people out there who need to know, you literally just drag the MAMP folder and drop it on the Applications folder in this dialog. The MAMP installer dialog, visible after unzipping the MAMP image and mounting it. dmg disk image to mount it.This will pop up the following dialog. Step 2: Install MAMPĭouble click the downloaded zip file to extract the disk image (.dmg file). You could buy the pro version to support them though. There is little reason to pay for MAMP, the basic version will do all you realistically want. Is this a redundant step? I hope so anyway, go download MAMP you want the non-pro version as shown below. Maybe one of the less obvious things is that you do not need MAMP pro to get virtual hosting set up in Apache on a Mac, but it will require you to work with Apache config files as described in my post on setting up virtual hosts in apache on MAMP. I’m writing a full series on setting up your Mac for Magnto ecommerce development, I should probably start with the first step – installing MAMP on a Leopard Mac, even if it’s a quite basic and hopefully self evident.
0 Comments
Leave a Reply. |