Plugin Sale! Save 15% on pro plugins with discount code: NEWYEAR2021
Web Dev + WordPress + Security

Run WordPress Locally with _AMP

[ _AMPs ] To run WordPress on the Web, you need a domain name and web host. But you don’t need either of those things to run WordPress on your own computer. You need only to set up a local server environment that includes Apache, MySQL, and PHP. That may sound like a tall order, but thanks to packaged software bundles such as MAMP and WAMP, setting up a robust server environment on your computer is a relative breeze.

The names for these software bundles — MAMP, WAMP, LAMP et al — are abbreviations that specify the operating system and included software. For example, the abbreviation “MAMP” stands for Macintosh, Apache, MySQL and PHP. Likewise, the abbreviation “WAMP” stands for Windows, Apache, MySQL and PHP. In this article, we’ll see that there’s an “_AMP” for just about every operating system.

Like WordPress, most _AMPs are free, open-source, and licensed under the GNU General Public License. They also bring together some truly amazing programs & libraries, such as:

Apache, MySQL, PHP, APC, eAccelerator, XCache, phpMyAdmin, Zend Optimizer, SQLiteManager, Freetype, t1lib, curl, jpeg 8, libpng, gd, libxml, libxslt, gettext, libidn, iconv, mcrypt, YAZ, PHP/YAZ

Full instructions for installing and using _AMPs may be found on their respective sites. For now, here’s a quick run-down of all the best _AMPs for WordPress and beyond.

Get _AMPed

LAMP
For Linux, installing Apache, MySQL, and PHP is more like running specific commands to install what’s known as “LAMP”, with the “P” referring to Perl, PHP, or Python, depending on which components are installed. So for LAMP, there really isn’t any specific “bundled” software to install, but if you want something like that, there is also LAMPP, which is one of the four flavors of XAMPP.
MAMP
The star of the show, MAMP is _AMP for Mac OS X. Truly easy to use, MAMP comes in “PRO” flavor, a professional-grade version that does awesome stuff like multiple servers, external access, easier configuration, and tons more. No portable version of MAMP at the moment, but there are tutorials online for making it work.
XAMPP
Actually four separate distributions, there’s a XAMPP for Linux, Mac, Solaris, and Windows. The “X” in “XAMPP” refers to “cross-platform”, and the extra “P” is for Perl, which makes this particular _AMP even more capable. Portable/USB versions also available.
WAMP
Renamed WampServer, WAMP is exactly what you would expect: Apache, MySQL, and PHP for Windows. If you’re a Windows user, you’ll find WAMP a solid, flexible program that’s pretty easy to use. Also available in portable/USB flavors.

In addition to these top suites, there’s also JAMP, ZWAMP, and many others that include all sorts of programs and aren’t named with an abbreviation. For a more complete collection of AMP packages, check out the following links:

  • List of AMP Packages
  • Comparison of AMPs (404 link removed 2013/07/07 – Note: Wikipedia deliberately deleted this useful reference without any sort of replacement material more info — if you know of a suitable resource to use as a replacement, contact me)

Also check out these fine tutorials on setting up WordPress/MultiSite on MAMP:

Jeff Starr
About the Author
Jeff Starr = Web Developer. Book Author. Secretly Important.
GA Pro: Add Google Analytics to WordPress like a pro.

7 responses to “Run WordPress Locally with _AMP”

  1. The problem with offline installs, is the upload of site once you have done.
    Do you have any suggestions or tricks related to it?

    Thanks

    • Jeff Starr
      Jeff Starr 2013/03/11 1:11 pm

      Actually I just tested a script that makes the transfer process a breeze, and I think there are plugins and other 3rd-party scripts that can help also.

  2. Which scripts and plugins Jeff? Thanks!

    • Jeff Starr
      Jeff Starr 2013/03/11 4:05 pm

      The one I tested will be posted in an upcoming article at Smashing Magazine, and the other scripts and plugins I’ve seen around on the Web. A few Google searches should reveal anything that’s available.

  3. Allright. Thanks for share!

  4. Siegfried 2013/04/14 1:31 pm

    I use WAMP and it is AWESOME! Thanks for sharing!

  5. M. S. Rosyidi 2013/05/24 8:09 am

    How about Uniserver? It’s so small and easy to use…

Comments are closed for this post. Something to add? Let me know.
Welcome
Perishable Press is operated by Jeff Starr, a professional web developer and book author with two decades of experience. Here you will find posts about web development, WordPress, security, and more »
WP Themes In Depth: Deep dive into WP theme development.
Thoughts
Simply Static is my go-to plugin for generating static HTML versions of WordPress sites. Works flawlessly.
Note to self: never, ever, ever buy any CD or DVD from eBay. Every single time the discs are scratched, damaged, missing, fake, or worse. Never again you clowns.
Find out if a plugin works with the latest version of WordPress @ plugintests.com
Going through all of my data, deleting all the chaff. Going for less than 500 GB total data storage.
Finally deleted all the cool unused placeholder Twitter accounts that I signed up for years ago. I will never use them.
After several years with Dashlane, I've moved on to a simpler, better solution.
After 10+ years, finally moved the last of my sites away from Media Temple.
Newsletter
Get news, updates, deals & tips via email.
Email kept private. Easy unsubscribe anytime.