Celebrating 20 years online :)
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

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.
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.
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.
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:

About the Author
Jeff Starr = Creative thinker. Passionate about free and open Web.
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?


    • 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 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.
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 »
Digging Into WordPress: Take your WordPress skills to the next level.
Crazy that we’re almost halfway thru 2024.
I live right next door to the absolute loudest car in town. And the owner loves to drive it.
8G Firewall now out of beta testing, ready for use on production sites.
It's all about that ad revenue baby.
Note to self: encrypting 500 GB of data on my iMac takes around 8 hours.
Getting back into things after a bit of a break. Currently 7° F outside. Chillz.
Get news, updates, deals & tips via email.
Email kept private. Easy unsubscribe anytime.