Mamp On Windows

Posted on  by 



For the web server, a localhost is a standard hostname which is provided to the address of your local computer, it means your computer is your web server. Setting a local web server allows you to do your experiments without harming anyone’s hope. There are many Platforms by which you can setup local web server on windows 10. The best of them is WAMP because that is free. But unfortunately, WAMP is only available for Windows. But Mamp is available for both Windows and Mac. Wamp and MAMP in a local computer work perfectly, but their setting is little different from each other. That’s why today, I will show you How to setup localhost on Windows using MAMP. Not only that, at the end, I have also introduced, How to setup localhost on MacOS High Sierra using MAMP. I hope You will enjoy it.

Related Posts:

Setup Localhost on Windows 10

MAMP: A free, local server environment. It can be installed under macOS and Windows with just a few clicks. It can be installed under macOS and Windows with just a few clicks. It provides them with all the tools they need to run WordPress on their desktop PC for testing or development purposes, for example. Start MAMP and click on the Start Servers button. In the status display in the upper right corner, the launch status of the servers is displayed. The web server (Apache) starts by default on port 8888, the database server (MySQL) on port 8889. MAMP is a free local server environment that you can set up in moments. It gives you all the tools to run WordPress on your Windows PC for development or testing. The app doesn't compromise any existing software on your computer. Local Server Environment. MAMP is an excellent local server environment installation, as it has many useful features. MAMP is a “one-click solution for setting up your personal webserver”. If you don’t have hosting or a domain name sorted out, you can go ahead and build your WordPress website using this free bit of kit. I promote because it’s really simple to use! This post will come in 5 parts. A quick install of MAMP. Creating a MySQL Database.

Step 1. To setup localhost first, download Mamp from its site. It is free but if want the complete features, you have to buy the pro version.

Step 2. Double click on the setup and start the installation process. The installation process is so easy, all you need is to select your language and click next, next up to the last window.

After installing MAMP, it depends on you, which platform you need to work on, but I’m setting up WordPress. Download WordPress from wordpress.org and follow the procedures.

Step 3. Extract WordPress htdocs inside the MAMP folder where you have installed. In this case, I have installed MAMP in Drive C:mamphtdocs

Step 4. Now run the MAMP application which you have installed.

Note: If you manually want to set up the preferences, select preferences and create your custom settings. But, I’m not interested in, I will go to the Default settings.

Step 5. Now select start the servers.

Step 6. When the server started select open start page or you can search for it manually localhost/mamp on the browser.

Create Database for Installing WordPress

Many users are having trouble with installing WordPress. The only reason is the database, which manually must be created inside the server. Otherwise, you won’t be able to use the local web server services. So, to install the WordPress, there are two ways which can perform to created data in order to install WordPress.

  1. Just create a simple database on the server.
  2. Create a new user, which will its own database.

Step 1. When you open the localhost/mamp, select Tools> PHPMyAdmin.

Step 2. Click on the database and create a new database. Name it whatever you want, I will name it WordPress.

Note: If you want to create a new user, head over to users and create a new user with the custom name and password. I suggest you create a new user because the basic method name and password is root which everyone knows. If you create a custom user, no one knows what your password is.

Install WordPress on Windows 10 Using MAMP

Step 1. Open a new tab and search there for localhost.

Step 2. Under the index selected, WordPress and the process of installing WordPress starts.

Step 3. Now you have to type the name of the database and the password. If you have just created a database username and password is root, just type the database name and submit.

Step 4. Select run the installation.

Step 5. Now fill out the information for your local site. When you are done click install WordPress.

Step 6. Once the installation goes successfully, login and enjoy the localhost.

If you are using Apple OS, Again MAMP can do the job. Download the MAMP package and start installation. Installing MAMP on is also so easy. Believe you will do it perfectly. After installing open MAMP by visiting the applications or open it from Launchpad.

Download WordPress and paste that into the htdocts folder located in MAMP folder. If you are struggling to find it, just search in the spotlight for htdocs. When it appears, extract the WordPress in it.

Other steps are the same as I explained. Just visit the MAMP application and select open the web or search in safari localhost/mamp. Then select tools and create a new database or create a new user. After that search for localhost/WordPress and install WordPress.

Also Read: Get macOS Mojave Features on WIndows 10

Conclusion:

This was all about How to Setup Local web server on Windows 10 and MacOS High Sierra Using Mamp. I hope this Article was helpful to You. If you have any idea or suggestion Please comment on the article or visit the Forum.

MAMP is a free distribution package that makes it easy to install Apache Web Server, PHP, and MySQL. Before installing MAMP, you should turn off any other web servers and instances of MySQL you have running on your Windows machine.

  1. Download the latest version of MAMP:
  2. Run the downloaded file (e.g., MAMP_MAMP_PRO_4.1.exe) and click through the installation wizard.
    1. If prompted, you do not need to install MAMP PRO or Apple Bonjour.
    2. Accept the License Agreement.
    3. Leave the default for the installation directory (C:MAMP).
    4. Leave the default for the Start Menu folder (MAMP).
    5. Close the wizard when setup is finished.

Running MAMP on Windows

Mamp For Mac

Careful!

Be very careful to follow these steps exactly. MAMP can be finicky. If something goes wrong, often the easiest thing to do is uninstall MAMP and start the process over again.

Install mamp on windows

To run MAMP...

  1. Navigate to C:MAMP in Windows Explorer and open MAMP.exe. If you get a security alert, allow access. You should see a window like this one: The servers (Apache Server and MySQL Server) should have automatically started. If they did not, start them by clicking on Start Servers.
  2. Open MAMP Preferences:
  3. Change the Apache port to 8888:
  4. Click on Open WebStart Page: The following page should open in your browser:

Class Files

  1. After downloading the class files, create a folder in C:MAMPhtdocs named 'Webucator' and extract your class files in that folder:
  2. Rename the ClassFiles folder to php:
  3. To test that your setup so far is correct, open your browser and navigate to http://localhost:8888/Webucator/php/. You should get a listing like this:
  4. Click PHPBasics, then click Demos, and then hello-world.php. You should get a page that looks like this:

Setting the MySQL Password

The PHP files use 'pwdpwd' for the MySQL root password, while the default password used in MAMP is 'root'. In your browser, navigate to http://localhost:8888/phpMyAdmin/.

Note: It is important to do these steps in the order specified.

Mamp Windows Download

  1. Click the mysql database on the left.
  2. Click the SQL tab at the top.
  3. Enter the following in the textbox under Run SQL query/queries on database mysql:
  4. Click Go.
  5. You also need to update the password in C:MAMPbinphpMyAdminconfig.inc.php. Open the file in your editor (e.g., Visual Studio Code) and change the password setting as show below to 'pwdpwd'.

Installing the poetree Database

Use phpMyAdmin to install the poetree database used in class.

  1. Click on the Import tab heading
  2. Click the Choose File button.
  3. Browse to the poetree-db.sql file in your class files (C:MAMPWebucatorphppoetree-dbsql).
  4. Click Open:
  5. Click the Go button on the bottom left of the page.
  6. You should get a Success message and poetree should be added to your list of Databases.

One Final Test

Point your browser to http://localhost:8888/Webucator/php/Database/Solutions/phppoetry.com/. If you see a page like this, you're all set:

And that's it

Happy MAMPing!

Mamp Free

Recommended Code Editor

Visual Studio Code (Download, Install, and Set up VS Code)

While you may use a different editor or IDE, Visual Studio Code is an excellent IDE to learn to code on. It provides a nice balance of power and simplicity and it is available on Windows and Mac.





Coments are closed