- The first step to setting up MAMP will be to download the latest version of MAMP (which is available at www.mamp.info). The only other application you'll need will be a simple text editor to manage the code. Text Wrangler, Sublime, TextMate, Jedit, or Coda would all do the job well and you could always just use Terminal if you're really hardcore.
- To do this, we recommend using MAMP. MAMP (Mac, Apache, MySQL, PHP) is a free and premium local server environment that can be installed on the macOS and Windows operating systems. The free version of MAMP provides all the tools you will need to run WordPress on your PC for testing and development purposes.
- Download and Install MAMP. Once the download has completed, double-click on the file to start the.
- Ngrok can serve local file system directories by using its own built-in fileserver, no separate server needed! You can serve files using the file:// scheme when specifying the forwarding URL. All paths must be specified as absolute paths, the file:// URL scheme has no notion of relative paths.
MAMP is a piece of software there allows you to host I local server, you can use this for example to test PHP Code. You will need a server to test PHP because its server side and MAMP allows you to host a server locally.
MAMP is a program that allows you to install a local server environment on your computer. It stands for Mac, Apache, MySQL, and PHP. For Windows, check out WAMP. LAMP — Linux, Apache, MySQL, and PHP is the classic set of applications WordPress runs on. It’s not unlikely that your current WordPress server still runs exactly that stack. For even more about this whole thing and what it has to do with WordPress, check out our “A WordPress LAMP!?” article.
It takes a just few minutes to install and set up MAMP, but once you have it, you can run and use WordPress on your computer rather than through your server. If you’re developing a site for a client and don’t want the unfinished product to be available for all to see while you’re working on it, installing a local server is crucial.
Here’s how you do it.
How To Install Wordpress Using Mamp
- Download MAMP for free.
- Open it and follow the prompts to install the MAMP application.
- Open the icon for MAMP in your applications folder. MAMP automatically gives you both the paid and free version. Use the grey folder and icon for the free version, if you want you can move the Pro version to the trash. When prompted, uncheck the box that asks if you’d like to check for MAMP PRO every time you open it, and click “Launch MAMP” instead of “Launch MAMP PRO.”
- Once the MAMP app dashboard is open, select the gear icon for ‘Preferences’
- From the ‘Preferences’ screen, select the ‘Ports’ tab and click ‘Set Web & MySQL ports to 80 & 3306’ and click ‘OK’. Doing this will allow you access your local websites from
http://localhost
instead ofhttp://localhost:8888
which will make your life easier later. You will be prompted for your computers admin password every time you start your server, so make sure you remember it!(click to enlarge)
- Next, click to the tab within preferences that says ‘Web Server’. Make sure ‘Apache’ is selected and click the folder icon option under ‘Document Root.’
- Change your document root to the folder on your computer where you create and store your website’s files. The default will be set to
Applications > MAMP > htdocs
, but you can change this to a folder you create and title within your ‘Documents’ folder, or to your ‘Sites’ folder if you already have one. Then click ‘OK’ to save your changes.(click to enlarge)
Using Mamp To Host A Website
That’s it! You officially have MAMP installed and in working order! In next week’s quick guide, we’ll teach you how to use MAMP to install WordPress locally on your computer so you can get to work!
Using Mamp On Mac
Mamp And Mamp Pro
Image credit: wpshout