Fall Sale! Code FALL2024 takes 25% OFF our Pro Plugins & Books »
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:

About the Author
Jeff Starr = Web Developer. Book Author. Secretly Important.
.htaccess made easy: Improve site performance and security.

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 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.
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 »
GA Pro: Add Google Analytics to WordPress like a pro.
Thoughts
I disabled AI in Google search results. It was making me lazy.
Went out walking today and soaked up some sunshine. It felt good.
I have an original box/packaging for 2010 iMac if anyone wants it free let me know.
Always ask AI to cite its sources. Also: “The Web” is not a valid answer.
All free plugins updated and ready for WP 6.6 dropping next week. Pro plugin updates in the works also complete :)
99% of video thumbnail/previews are pure cringe. Goofy faces = Clickbait.
RIP ICQ
Newsletter
Get news, updates, deals & tips via email.
Email kept private. Easy unsubscribe anytime.