20

Anything better then MAMP for OSX?

almost 7 years ago from , Director of Product @ Infor

I have been using MAMP to test things locally, was wondering if there is anything else out there for Mac thats lightweight and good.

31 comments

  • John FlynnJohn Flynn, almost 7 years ago

    If you're talking lightweight in terms of framework requirements, Anvil and Hammer are both pretty straightforward and useful.

    12 points
    • Jason BlockJason Block, almost 7 years ago

      Second those.

      Also, if you're crazy, you can set up a local nginx installation relatively easy on a mac (and even DNSmasq it so you can point it to yourawesomename.dev or something). That way you can just point to static files (much like Anvil but without Pow running in the background)

      1 point
    • Sabri IbrahimSabri Ibrahim, almost 7 years ago

      +1 #teamhammer n #teamanvil haha

      0 points
  • Alexander DinerAlexander Diner, almost 7 years ago

    Localhost.

    8 points
  • Koen Bok, almost 7 years ago

    We made Cactus to make building websites easier. It has a built in web server: http://cactusformac.com

    6 points
  • James StiffJames Stiff, almost 7 years ago

    Mixture is worth a look: http://mixture.io

    5 points
  • Sean O'GradySean O'Grady, almost 7 years ago

    "sudo apachectl start" & install mysql. Tutorial to get up and running here.

    http://coolestguidesontheplanet.com/get-apache-mysql-php-phpmyadmin-working-osx-10-9-mavericks/

    I don't care for phpMyAdmin though, so I forgo it and just use Sequel Pro.

    5 points
    • Jim NielsenJim Nielsen, over 6 years ago

      This is my same setup. Apache is installed by default in osx so I use it. The MySQL preference pane is easy enough to install and turn on. I also use sequel pro for managing my db. I've been similarly frustrated with MAMP Pro

      2 points
  • Olivier GOlivier G, almost 7 years ago

    I always use: php -S localhost:8888

    Super quick server in any folder.

    4 points
  • Morgan SmithMorgan Smith, over 1 year ago

    If you're working with WordPress, I highly recommend Local by Flywheel! It's free and works for Mac and Windows.

    3 points
  • Benjamin ChristineBenjamin Christine, almost 7 years ago

    I use Vagrant now. Brilliant option, fast and really easy to use.

    3 points
  • pjotr .pjotr ., almost 7 years ago

    You're using M ac A pache M ySql & P hp right? Those are the basic tools a mac comes with in terms of local server configuration. I can't think of anything more lightweight that that.

    Or are you saying that you're using the MAMP tool?

    If you are using the tool I'd suggest going with an actual MAMP stack on your machine setup manually. It's very easy to get going. Here's a quick tutorial.

    2 points
  • Jake ChapmanJake Chapman, over 6 years ago (edited over 6 years ago )

    I used MAMP since the very humble beginnings of development. I switched from MAMP to using an upgraded version of apache, mysql and php 5.5 using homebrew. Try this following link to upgrade to 5.5 Josegonzalez Homebrew PHP 5.5 - After about a year of doing it that way I finally discovered Vagrant.

    Works amazing and provides a super maintainable and quick workflow for getting a local dev environment to mimic your staging and production environments. It is a little work to get setup the way you want for the specific environments you want it to build out, but saves many problems down the line and makes it worth it in the end. It also works amazing for teams, since there is no configuration you need to do on your computer except download VirtualBox (free) and Vagrant (free). This helps and makes sure everyone is on the exact same environment developing with the exact same configuration, so no more problems having someone say they can't get it to work lol.

    The only reason I say Vagrant is a little step ahead of the other solutions is because you can run anything through it since it's just a virtual machine sitting on top of your OS. Node, PHP, Rails, Static Sites, Vagrant could care less.... just tell it how to configure when you Vagrant Up and you're good to go.

    1 point
  • Gadzhi KharkharovGadzhi Kharkharov, almost 7 years ago (edited almost 7 years ago )

    I've been using Hammer for Mac + Anvil for a few months daily and I find it very nice so far.

    1 point
  • Vincent MillikenVincent Milliken, almost 7 years ago

    Installing it all manually works great, bit of messing about to get it setup, but worth it in the end.

    1 point
  • Julian LloydJulian Lloyd, almost 7 years ago (edited almost 7 years ago )

    Since Python comes installed on OSX…

    run python -m SimpleHttpServer in terminal (from within your site folder) to quickly spin up a web server at http://localhost:8000.

    Check out more on SimpleHttpServer

    It’s not for every use case, but it’s simple and works out of the box. I still use Apache for virtual hosts and things, but the above one-liner gets the job done most times.

    1 point
  • Alaik FAlaik F, almost 7 years ago

    I've switched to AMPPS (http://www.ampps.com/) recently. I gave up with MAMP. Their support is very horrible. I thought buying a so called PRO version will help me to get a support response from them, but I was wrong.

    AMMPS UI isn't great as MAMP but it works.

    It does have all MAMP pro functions (for free), its auto-installer app stack is great for you who work with multi development environments, easier to use, its directory structure is more like real live server directory, it's easier to maintain open source installation such as wpordpress,joomla etc, and one important thing, when you ask for a support in their forum discussion, you will get an answer from their developer.

    1 point
  • James De AngelisJames De Angelis, almost 7 years ago

    If you don't need MySQL and just want a local server for static sites, i've been using (and loving) http-server as a super lightweight environment — https://github.com/nodeapps/http-server

    1 point
  • Heather McNamee, over 2 years ago

    If you're interested in a tool that makes Docker easy and is lightweight and flexible, check out DDEV. My colleague wrote a comparison here: https://www.drud.com/ddev-local/ddev-an-alternative-to-mamp-for-a-php-dev-environment/

    Containerized solutions compare well against MAMP when you're looking at planning, configuration, testing, and especially sharing your work. Lots of the best features are in the paid-for MAMP Pro, but it might makes sense for you to try an open source alternative.

    DDEV works with any PHP application. You can see how to install it for mac OS here: https://www.drud.com/ddev-local/ddev-local-scratch-macos/

    I hope that helps!

    Disclaimer: I work for DDEV, but love sharing info about it! :)

    0 points
  • Brett MascavageBrett Mascavage, almost 7 years ago (edited almost 7 years ago )

    If you don't need a database or anything crazy you could try using Grunt **. It's great cause you can run a local server, use typekit for webfonts, and also incorporate SASS. I've been using it lately for quick prototyping and small sites.

    Chris Coyier did a nice little walkthrough

    I spun up a quick repo https://github.com/savagecorp/grunt_baseplate that I've been using lately that integrates Cardinal for a basic reset, includes SCSS setup, and an image optimizer.

    ** If you do need a database I believe you can use Yeoman & Bower along side Grunt in a Node framework.

    0 points
  • Tom J. HumeTom J. Hume, almost 7 years ago

    Whilst this is being discussed, how many of these could be used to install WordPress locally?

    0 points
    • Sean HendricksonSean Hendrickson, almost 7 years ago

      If I'm understanding you correctly, you can use Bitnami and AMPPS to install WordPress as quick and easy as possible.

      Solutions like MAMP, XAMPP, and installing locally using the built-in Apache (using such packages like this to install PHP extensions and install MySQL to run something like Wordpress natively) still require you to build a directory to drop WordPress in and setup.

      0 points
  • Alex MilesAlex Miles, almost 7 years ago (edited almost 7 years ago )

    If you have ruby installed...

    cd into the directory and run this

    ruby -run -e httpd . -p 9090

    You can also use an alias in your .bash_profile

    alias serve="ruby -run -e httpd . -p 9090"
    0 points
  • Lucas AlmeidaLucas Almeida, over 6 years ago

    If the sites are static, use Anvil - www.anvilformac.com

    0 points
  • Alex MorrisAlex Morris, almost 7 years ago

    MAMP + VirtualHost X is pretty solid

    0 points
  • Jon GoldJon Gold, almost 7 years ago

    I mainly do Rails & Node these days so don't want to dirty up my Mac with MAMP - Vagrant works great for the occasional bit of PHP.

    0 points
  • Mike SMike S, almost 7 years ago

    VirtualHostX is a good option for managing local sites.

    0 points