You be the judge whether this is a “best practice” but here’s my MAMP update process:

  1. Do a manual phpmyadmin backup of all sql dbs first.
  2. Stop the MAMP servers.
  3. Quit MAMP (and/or MAMP PRO)
  4. Rename the folder: /Applications/MAMP e.g. to /Applications/MAMP_old
  5. Copy the new MAMP folder to your Applications folder.
  6. Copy the databases and other files that you want to keep to the new MAMP folder from the old one. Databases are located under /Applications/MAMP/db but there are possibly also other files that you want to keep like the folder /Applications/MAMP/htdocs or configuration files within /Applications/MAMP/conf.
  7. Run kdiff3 on the MAMP/conf folders to bring over the customizations
    • Unless you’re an exquiste documenter of everything you do, it’s good to run a diff on the two files.
      • sites apache vhost config file
      • php.ini updates (but check, new libraries are added and versions modified)
  8. Copy the uploadprogress.so file, rather than recompile:
    • cp -v /Applications/MAMP/bin/php5/lib/php/extensions/no-debug-non-zts-20060613/uploadprogress.so -> /Applications/MAMP-1-8-4/bin/php5/lib/php/extensions/no-debug-non-zts-20060613/uploadprogress.so
  9. Start new MAMP (or MAMP PRO).

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Performance Optimization WordPress Plugins by W3 EDGE