![]() On starting them again you’ll be prompted for your password so that MAMP can open port 80 for Apache. here is the setup I use: Set your Document Root for Apache in MAMP to somewhere in your home directory.Īfter doing the config changes you’ll need to stop and start the servers to have the new changes take effect. 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. You do not need to start postfix unless you want your Mac to be a mail server.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. Smtp_sasl_tls_security_options = noanonymous Smtp_sasl_security_options = noplaintext, noanonymous Smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd # Enable SASL authentication in the Postfix SMTP client. Then make sure the following are in your /etc/postfix/main.cf (from ) relayhost=:587 Then sudo postmap /etc/postfix/sasl_password (you will need to use sudo) obviously replacing username and password. However, if you want to relay through another host, GMAIL for example:Īdd :587 /etc/postfix/sasl_password. That should give you an idea what is failing. Try running the above mail command in one terminal window while streaming the logs as suggested by anotherlatenight, in another. One problem could be that the default outgoing mail port is being firewalled by your ISP. You can test if its working by simply using the command line mail command: mail test subject Postfix should already be enabled to deliver email on your Mojave out of the box.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |