Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

WordPress lokal auf dem Mac installieren (2 einfache Wege)

Hinweis der Redaktion: Wir erhalten eine Provision für Partnerlinks auf WPBeginner. Die Provisionen haben keinen Einfluss auf die Meinung oder Bewertung unserer Redakteure. Erfahre mehr über Redaktioneller Prozess.

Möchten Sie WordPress lokal auf dem Mac installieren?

Die Installation von WordPress auf Ihrem Computer gibt Ihnen die Möglichkeit, WordPress auszuprobieren, bevor Sie Ihren Blog oder Ihre Website starten. Es ist auch eine gute Möglichkeit, mit Themes und Plugins zu experimentieren, bevor Sie Ihre Website online stellen.

In diesem Artikel werden wir Ihnen zwei Möglichkeiten zeigen, wie Sie WordPress einfach lokal auf dem Mac installieren können.

Installing WordPress locally on your Mac computer

Tipp: Sie verwenden keinen Mac? Wir haben auch eine Anleitung, wie man WordPress lokal unter Windows installiert.

Warum WordPress lokal auf dem Mac installieren?

Normalerweise benötigen Sie ein Webhosting-Konto und einen Domainnamen, um eine WordPress-Website zu erstellen.

Die WordPress-Kernsoftware kann jedoch kostenlos heruntergeladen und lokal auf Ihrem Computer ausgeführt werden.

Diese lokale WordPress-Seite ist nicht allgemein im Internet verfügbar und kann nur auf Ihrem Computer angezeigt werden.

Der Vorteil dieses Ansatzes ist, dass Sie privat mit WordPress üben können, es ausprobieren und sehen können, welche Art von Websites Sie erstellen können.

Sie können diese lokale Installation auch verwenden, um verschiedene WordPress-Themes und Plugins zu testen, bevor Sie sie auf Ihrer Live-Website installieren.

Was brauchen Sie, um WordPress lokal auf dem Mac zu installieren?

WordPress ist hauptsächlich in PHP geschrieben, einer serverseitigen Programmiersprache. Um PHP auszuführen, benötigen Sie eine Webserver-Software. Außerdem müssen Sie das MySQL-Datenbankmanagementsystem für Ihre Webserver-Software installieren.

Nun, all diese Software unabhängig voneinander zu installieren und sie miteinander arbeiten zu lassen, klingt nach einer entmutigenden Aufgabe.

Glücklicherweise gibt es kostenlose Entwicklungstools, mit denen es auch für technisch nicht versierte Benutzer sehr einfach ist, sie in einem Paket zu installieren. Zwei davon stellen wir in diesem Artikel vor.

Schauen wir uns also an, wie man WordPress ganz einfach und ohne besondere Kenntnisse der Serveradministration lokal auf dem Mac installieren kann.

1. WordPress lokal auf dem Mac mit Local WP installieren (empfohlen)

Local WP ist ein WordPress-Entwicklungstool, mit dem Sie ganz einfach einen lokalen Server auf Ihrem Mac-Computer einrichten können. Sie können Local WP auch unter Windows und Linux verwenden, um WordPress einzurichten.

Besuchen Sie zunächst die lokale Website und klicken Sie auf die Schaltfläche Herunterladen in der oberen rechten Ecke des Bildschirms.

Local by Flywheel

Daraufhin wird ein Popup-Fenster angezeigt, in dem Sie Mac als Plattform auswählen müssen.

Choose Mac as your platform

Vor Ort werden Sie nun gebeten, ein kurzes Formular auszufüllen.

Nachdem Sie Ihren Namen, Ihre E-Mail-Adresse und Ihre Telefonnummer eingegeben haben, können Sie auf die Schaltfläche „Jetzt anfordern“ klicken.

Download now

Dadurch wird die lokale Installationsdatei auf Ihren Computer heruntergeladen. Sobald der Download abgeschlossen ist, können Sie die heruntergeladene Datei per Doppelklick öffnen.

Daraufhin wird ein Setup-Assistent gestartet, der Sie durch den Installationsprozess von Local auf Ihrem Computer führt.

Mac-Benutzer müssen die Local-App einfach in ihren Programme-Ordner ziehen.

Install Local on Mac

Sobald die Installation abgeschlossen ist, können Sie die Anwendung Local aus dem Ordner Applications starten.

Beim ersten Start werden Ihnen möglicherweise einige Fragen gestellt und Sie müssen ein kostenloses lokales Konto erstellen. Diese Schritte sind optional und können übersprungen werden, wenn Sie möchten.

Erstellen einer WordPress-Website auf lokaler Ebene

Local macht es sehr einfach, schnell eine lokale Website zu erstellen und WordPress zu installieren.

Klicken Sie einfach auf die Schaltfläche Website erstellen, um fortzufahren.

Create new site

Auf dem nächsten Bildschirm müssen Sie den Namen der Website eingeben und auf die Schaltfläche Weiter klicken.

Enter sitename

Als nächstes werden Sie aufgefordert, Ihre Plattform zu wählen. Mit Local können Sie die Version von PHP, Apache und MySQL auswählen, die Sie verwenden möchten.

Choose platform

Wenn Sie unsicher sind, wählen Sie die bevorzugten Einstellungen und klicken Sie auf die Schaltfläche „Weiter“.

Schließlich müssen Sie Ihren WordPress-Benutzernamen und Ihr Passwort eingeben und dann auf die Schaltfläche Website hinzufügen klicken.

Local wird nun WordPress herunterladen und installieren, um Ihre Website zu erstellen. Sie werden möglicherweise aufgefordert, Ihren Mac-Benutzernamen und Ihr Passwort einzugeben, um Änderungen vorzunehmen.

Sobald Sie fertig sind, sehen Sie Informationen über Ihre neu erstellte Website mit Schaltflächen, um den WordPress-Verwaltungsbereich zu besuchen oder Ihre lokale Website anzuzeigen.

Local site info

Sie können nun Ihre Website besuchen oder sich in den WordPress-Administrationsbereich einloggen.

Locally installed WordPress dashboard

Danach können Sie Ihre WordPress-Website so nutzen, wie Sie eine echte Website verwalten würden. Sie können Plugins und Themes installieren und Ihre Website so gestalten, wie Sie es für richtig halten.

2. WordPress lokal auf dem Mac mit MAMP installieren

MAMP ist ein beliebtes Programm, mit dem Sie WordPress auf Ihrem Mac-Computer ausführen können.

Zuerst müssen Sie die MAMP-Website besuchen. Hier sollten Sie die neueste Version von MAMP & MAMP Pro sehen.

MAMP for Mac

MAMP bietet separate Downloads für verschiedene Versionen des macOS-Betriebssystems.

Sie sind sich nicht sicher, welche Version von macOS auf Ihrem Computer installiert ist? Um das herauszufinden, klicken Sie einfach auf das Apple-Symbol in der Symbolleiste Ihres Computers.

How to check your version of macOS

Sie können dann auf Über diesen Mac klicken.

Es öffnet sich ein Popup-Fenster, das viele Informationen über Ihren Computer anzeigt. Dazu gehört auch Ihre Version von macOS.

The 'About This Mac' menu

Sie können nun die richtige Version von MAMP für Ihr Betriebssystem herunterladen.

Sobald der Download abgeschlossen ist, doppelklicken Sie auf die MAMP-.pkg-Datei. Dadurch wird das MAMP-Installationsprogramm gestartet.

The MAMP for Mac installer

Folgen Sie nun einfach den Anweisungen auf dem Bildschirm, um MAMP zu installieren.

Nach der Installation dieses Programms können Sie MAMP starten, indem Sie den Anwendungsordner Ihres Computers öffnen.

Hier finden Sie zwei Versionen von MAMP. MAMP Pro ist die kostenpflichtige Version, also stellen Sie sicher, dass Sie die kostenlose Version wählen.

The free version of MAMP for macOS

In diesem MAMP-Ordner finden Sie verschiedene Dateien und eine MAMP-Anwendung.

Doppelklicken Sie darauf, um die MAMP-Anwendung zu starten.

How to run WordPress locally using the free MAMP app

Bevor Sie loslegen, empfehlen wir Ihnen, einige Einstellungen vorzunehmen, um Ihr MAMP-Erlebnis zu verbessern.

Um diese Änderungen vorzunehmen, klicken Sie einfach auf „MAMP“ in Ihrer Symbolleiste. Dann können Sie „Einstellungen“ wählen.

MAMP's preference settings

Wählen Sie in dem Popup-Fenster die Registerkarte Ports.

Sie können nun überprüfen, welchen Apache Port MAMP verwendet. Wir empfehlen, auf Apache Port 8888 zu wechseln, wenn MAMP diesen Port nicht bereits verwendet.

The Apache Port settings

Der nächste Schritt ist die Festlegung des Stammordners für Ihr Dokument. Dies ist der Ordner, in dem Sie alle Ihre lokalen WordPress-Websites erstellen und speichern werden.

Standardmäßig verwendet MAMP den Ordner /Applications/MAMP/htdocs/, aber Sie können dies auf einen anderen Ort ändern.

Klicken Sie im Dialogfeld „Einstellungen…“ auf die Registerkarte „Server“. Sie sollten nun Ihren Dokumentenstamm sehen.

MAMP's document root

Um Ihre Websites in einem anderen Ordner zu speichern, klicken Sie auf die Schaltfläche ‚Auswählen…‘.

Daraufhin öffnet sich ein Popup, in dem Sie einen neuen Speicherort auswählen können. Vielleicht möchten Sie auch einen neuen Ordner erstellen, in dem Sie alle Ihre WordPress-Websites speichern.

Creating a new folder for local WordPress

Sie können diesen Ordner nach Belieben benennen.

Für diesen Artikel werden wir unsere Websites in einem Ordner namens „allwebsites“ speichern.

Creating a new folder for local WordPress

Installation von WordPress auf MAMP

Nachdem Sie nun MAMP eingerichtet haben, können Sie nun WordPress auf Ihrem Mac-Computer installieren.

Zuerst müssen Sie die Website WordPress.org besuchen und die neueste Version von WordPress Core herunterladen.

Download WordPress

HINWEIS: Es gibt zwei Versionen von WordPress. Weitere Details finden Sie in unserem Vergleich zwischen WordPress.com und WordPress.org.

Nachdem Sie die Datei von WordPress.org heruntergeladen haben, müssen Sie sie nur noch entpacken. Dadurch wird ein entpackter „wordpress“-Ordner erstellt.

Kopieren Sie diesen Ordner nun einfach in Ihr MAMP-Dokumentenstammverzeichnis.

Da wir den Stammordner des Dokuments geändert haben, müssen wir „wordpress“ in applications/MAMP/htdocs/allwebsites kopieren.

How to install WordPress locally on Mac

WordPress benötigt eine Datenbank, um alle Inhalte und Daten zu speichern. Sie müssen diese Datenbank erstellen, bevor Sie eine lokale Website erstellen können.

Keine Sorge, es ist nicht so schwer, wie es klingt!

Klicken Sie im MAMP-Fenster ‚Einstellungen…‘ einfach auf die Schaltfläche OK. Dies sollte die MAMP-Anwendung in einem neuen Browser-Tab starten.

The MAMP welcome screen

Als nächstes müssen Sie phpMyAdmin starten. Dies ist eine webbasierte Anwendung, mit der Sie die MySQL-Datenbank Ihrer Website verwalten können.

Klicken Sie in der Symbolleiste auf Werkzeuge “ phpMyAdmin.

How to launch WordPress' PhpMyAdmin

Dadurch wird phpMyAdmin in einer neuen Registerkarte geöffnet. Klicken Sie im Dashboard von phpMyAdmin auf die Registerkarte „Datenbanken“.

Sie können nun einen Namen für Ihre Datenbank in das Feld „Datenbankname“ eingeben. Sie können Ihre Datenbank so nennen, wie Sie wollen. Notieren Sie sich den Namen, da wir ihn im nächsten Schritt verwenden werden.

In diesem Lernprogramm nennen wir unsere Datenbank test_db.

Creating a WordPress dashboard

Nachdem Sie den Namen Ihrer Datenbank eingegeben haben, klicken Sie auf die Schaltfläche Erstellen.

PhpMyAdmin wird nun Ihre Datenbank erstellen.

Creating a WordPress database for your local website

Jetzt ist es an der Zeit, WordPress zu installieren.

Rufen Sie in einem neuen Browser-Tab einfach http://localhost:8888/ auf. Wenn Sie einen anderen Port als 8888 verwenden, vergessen Sie nicht, diese URL zu ändern, um Ihren Port anzugeben.

Sie sollten nun einen Link zu dem Ordner „wordpress“ sehen, den Sie in Ihren Stammordner kopiert haben.

Sie können nun fortfahren und auf diesen Link klicken. Dadurch wird der WordPress-Installationsassistent geöffnet.

The WordPress setup wizard

Der WordPress-Installationsassistent fordert Sie zunächst auf, eine Sprache auszuwählen. Treffen Sie Ihre Wahl, und klicken Sie dann auf die Schaltfläche Weiter.

Auf dem nächsten Bildschirm listet WordPress alle Informationen auf, die es zum Abschluss der Installation benötigt.

Nachdem Sie diesen Bildschirm gelesen haben, klicken Sie auf die Schaltfläche „Los geht’s“, um fortzufahren.

Installing WordPress locally

Der Einrichtungsassistent fragt nun nach den Daten Ihrer WordPress-Datenbank. Als Datenbankname geben Sie einfach den Namen ein, den Sie im vorherigen Schritt erstellt haben.

Geben Sie als Benutzername und Passwort „root“ ein. Anschließend können Sie „localhost“ in das Feld „Datenbank-Host“ eingeben.

The MySQL database information

Localhost bedeutet lediglich, dass die Datenbank und die Website auf demselben Server gehostet werden. In diesem Fall ist der Server Ihr Mac-Computer.

Nachdem Sie all diese Informationen eingegeben haben, klicken Sie einfach auf die Schaltfläche Absenden.

WordPress wird nun eine Verbindung zu Ihrer Datenbank herstellen und eine Konfigurationsdatei für Sie erstellen. Sobald der Vorgang abgeschlossen ist, erhalten Sie eine Erfolgsmeldung.

Um mit dem nächsten Schritt fortzufahren, klicken Sie auf die Schaltfläche „Installation ausführen“.

Running the WordPress installation

Auf dem nächsten Bildschirm werden Sie von WordPress aufgefordert, einen Titel für Ihre Website anzugeben. Die meisten WordPress-Themes zeigen diesen Titel ganz oben auf Ihrer Website an. Sie könnten zum Beispiel den Namen Ihres Unternehmens verwenden.

Sie können den Titel auch jederzeit in Ihrem WordPress-Dashboard ändern.

Site information

Sie müssen auch einen Benutzernamen und ein Passwort erstellen. Dies sind die Anmeldeinformationen, mit denen Sie auf Ihr WordPress-Dashboard zugreifen können.

Sie können auch Ihre E-Mail-Adresse in das Feld Your Email eingeben. Dies ist die Adresse, an die WordPress alle Verwaltungs-E-Mails senden wird.

Nachdem Sie dieses Formular ausgefüllt haben, klicken Sie auf die Schaltfläche WordPress installieren.

Install WordPress

WordPress führt nun die Installation durch.

Nach ein paar Augenblicken sollten Sie die Meldung „Erfolg“ sehen.

Installation complete

Um direkt zu Ihrem WordPress-Anmeldebildschirm zu gelangen, klicken Sie auf die Schaltfläche „Anmelden“.

Sie können sich auch über die folgende URL bei Ihrer lokalen WordPress-Website anmelden: http://localhost:8888/wordpress/wp-login.php

HINWEIS: Wenn Sie einen anderen Apache-Port verwenden, müssen Sie den Teil „8888“ in dieser URL ändern.

Sie können sich nun bei Ihrer WordPress-Website anmelden, indem Sie den Benutzernamen und das Passwort eingeben, die Sie im vorherigen Schritt erstellt haben.

Dadurch gelangen Sie zum WordPress-Dashboard.

The WordPress dashboard

WordPress lokal auf dem Mac ausprobieren

Eine lokale Installation ist ideal, um WordPress auszuprobieren oder Websites auf Ihrem Computer zu entwickeln. Jetzt, wo WordPress lokal auf Ihrem Mac läuft, können Sie ein paar Dinge ausprobieren.

Verschieben Ihrer lokalen WordPress-Installation auf die Live-Website

Sobald Sie lokal mit WordPress gespielt haben, sollten Sie Ihre WordPress-Installation auf eine Live-Website übertragen. Dies ist die einzige Möglichkeit, wie andere Ihre Website sehen können.

Dazu müssen Sie einen Domänennamen und Webhosting kaufen. Ein Domänenname ist die Adresse Ihrer Website im Internet, und Webhosting ist der Ort, an dem die Dateien Ihrer Website gespeichert sind. Sie können sich das Webhosting als das Zuhause Ihrer Website im Internet vorstellen.

Für das Webhosting empfehlen wir Bluehost. Sie sind einer der größten Hosting-Anbieter der Welt. Sie werden auch offiziell von WordPress.org empfohlen.

Glücklicherweise bietet Bluehost WPBeginner-Benutzern einen Rabatt auf das Hosting, ein kostenloses SSL-Zertifikat und einen kostenlosen Domainnamen. Im Grunde können Sie Ihre lokale WordPress-Installation für 2,75 $ pro Monat in eine Live-Website verwandeln.

Sobald Sie das Hosting erworben haben, lesen Sie unseren Artikel über die Erstellung einer Website mit WordPress.

Haben Sie bereits eine komplette Website auf Ihrem lokalen Computer erstellt? Dann sollten Sie sich die Anleitung ansehen, wie Sie WordPress von einem lokalen Server auf eine Live-Website umziehen.

Wir hoffen, dass dieser Artikel Ihnen geholfen hat, zu lernen, wie man WordPress lokal auf dem Mac installiert. Vielleicht interessiert Sie auch unsere Anleitung zur Anpassung des WordPress-Headers oder unser Vergleich der besten Managed-WordPress-Hosting-Unternehmen.

Wenn Ihnen dieser Artikel gefallen hat, dann abonnieren Sie bitte unseren YouTube-Kanal für WordPress-Videotutorials. Sie können uns auch auf Twitter und Facebook finden.

Offenlegung: Unsere Inhalte werden von unseren Lesern unterstützt. Das bedeutet, dass wir möglicherweise eine Provision verdienen, wenn Sie auf einige unserer Links klicken. Mehr dazu erfahren Sie unter Wie WPBeginner finanziert wird , warum das wichtig ist und wie Sie uns unterstützen können. Hier finden Sie unseren redaktionellen Prozess .

Das ultimative WordPress Toolkit

Erhalte KOSTENLOSEN Zugang zu unserem Toolkit - eine Sammlung von WordPress-bezogenen Produkten und Ressourcen, die jeder Profi haben sollte!

Reader Interactions

165 KommentareEine Antwort hinterlassen

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. WPBeginner Staff says

    Since we don’t know what went wrong when you deleted the site earlier. We would recommend you to create a new site. Basically repeat the whole process all over again. Except this time create a new directory in your document root folder. Do the same with MySQL DB. Then install WordPress in the new directory using your new MySQL DB.

  3. Steve says

    Great instructions! I was able to set up a site, but I needed to delete it and start over. I trashed the SQL database and the previous site folder. But when WordPress goes to install itself now, I get a huge error log in the browser saying that a ton of files, info „already exist.“ Do I need to get rid of some other previously installed files and, if so, which ones?

  4. Minyan says

    When I type in http://localhost/wordpress (I name the wordpress folder under the root folder of MAMP wordpress), it shows „404 not found. The requested URL /wordpress was not found on this server“. Can anyone tell me what I did wrong?

  5. Michelle Hamilton says

    These instructions are the best and easiest to follow out there. I actually used them to help my instructor set up WordPress on her new mac and I used them to set it up on the mac I use in my internship. Thanks so much!!!

  6. Michelle Hamilton says

    These are the best and easiest to follow instructions out there. I actually used them to help my instructor install MAMP on her mac. I had already used them to do it for my internship that I am participating in. Great Job!!!

  7. Julie Valin says

    Thank you very much for this great step-by-step tutorial! Very helpful for this first-time MAMP user, when at first I felt overwhelmed. Now I’m feeling informed and happy, and I always like to comment on those posts/tutorials that have really helped me. Kudos!

  8. Haley says

    Thanks for this tutorial – quick question for you: I’m designing a site for a client that I will have to build offline using MAMP, however I see the note about only being able to view it on my computer. Is there a way that my client (located in another state) can review the progress without making it live on their site?

  9. Hannah says

    Oh god, thank you wpbeginner team so much. First time I’ve ever used MAMP and nothing seemed to say ‚Hey, for all you dummys, here’s how you install WordPress‘- it just assumed we would know. *forever grateful*

  10. Alex Koch says

    Really appreciate your help. MAMP 3.0.3 comes with a slightly different interface and a different setup – you have to redirect Apache to /bin/phpMyAdmin/ in oder to setup your mysql database for wordpress and THEN redirect Apache to you actual root directory localhost/mysitewahtever/ where you put wordpress.

    WordPress can access the db nevertheless.

  11. Rich says

    Thank you for this easy to follow guide! I finally got the motivation up to move forward with a project I’ve almost completed and this guide really helped. Thanks again!

  12. Tom Nguyen says

    Is it possible to receive emails from WordPress installed on a local server? I’m only asking because I had installed WordPress and forgot my administrator password. I click the Lost Your Password link to start the password reset process, but I never received an email.

    I just ended up going to the local phpMyAdmin interface and reset the password that way.

  13. Kate says

    I made an assumption when installing mamp/wordpress with my website name. The „website name“ I used to set it up using your tutorial is not my website name my business currently owns and I am redoing. I thought if I used that one it would mess up the current site. So…..do I have to go back and put my „real“ website name in the install files or can I just switch it over to my current domain name when I am done with the new wordpress site? Thanks!

  14. Leigh says

    hey :)

    followed steps ….up to setting up to part of .. new database – used test_db as per example

    opening http://localhost/mysite in browser and getting 404 kicking out.

    should be saying …
    WordPress will notify you that it was unable to find wp-config.php file. !!!

    …directory set cool , to mysite
    ///using default mamp ports

    thanx for help in advance man !

    smiles :)

  15. Kate says

    I guess the issue was that I named my wp folder that contains all my wp files in hpdocs folder within MAMP using 2 words. Therefore I put a space in between and when I went to put the local host/mydomainname/wp-admin/ address to find my dashboard I apparently had to add a %20 due to the space. It seems to work now so I think I did it right! Thanks again for your sites guidance and prompt help. I really appreciate it and have added your site to my bookmarks and subscribed!

  16. Kate says

    Well apparently it was so simple I was missing the part that I needed to put the _db after my new database I created :) Solved!

  17. Kate says

    I am switching to wordpress from drupal and I appreciate and value your great resources and thorough steps coming from a newbie with no tech experience and knowledge!! I am having the same problem that Jen did above (12/12/2013). I’m using a Macbook Pro and got as far as trying to figure out whether the database that I set up in my wp-config file exists. I did the steps you recommended (it says all privileges are granted in my root user) , but maybe I’m doing it wrong cause I’m still getting the same error message as she did? Maybe I need another way of explaining the steps? I closed Skype and ensured websharing wasn’t on, but that didn’t change anything. Totally stumped!!

  18. Daniel says

    Thanks for the guide.

    Now i have installed wordpress onto my mac, and have created a website. How do I go about starting a new website?

    Thanks Dan

  19. Syed says

    I am going through a nightmare. Thanks to your instructions, everything was running fine until today when I clicked on upgrade to the new MAMP version and went for an install, thinking that it will happen in the background.

    It appears that the upgrade has either erased my data or has put it away. Incidentally, I had a full copy of the main drive on a different drive (the whole MAMP folder). I can see the folders and files in both places but when I try to start MAMP from the different drive where the old MAMP folders are placed, it still boots up with the new version and I can’t start my site.

    I have no way to really know what to do next. Kindly help. Thanks

  20. netyx says

    Thanks for the guide!

    I have a problem though. I created a database and then MySQL server crashed. It’s not working anymore. Could you help me please anyone?

  21. Derek says

    Great tutorial. Thanks. It all worked fine for me until the very end. After I successfully installed wordpress I clicked on „View Site“ and got a white splash screen that says „Your Website“ followed by instructions on how to make it „live.“ I don’t want to go live. I just want to work on building a theme locally. But for whatever reason, I’m just not able to view the site.

    Help!

    Thanks.

  22. Jen says

    I just installed MAMP and my servers won’t start. Have you ever had this problem before? I tried restarting and re-reading the steps, thanks!

  23. Jen says

    PLEASE HELP! I CANNOT FIND AN ANSWER AND IM ON A DEADLINE!

    So everything was working until I clicked the ‚open start page‘ button. Originally it just populated a web browser that only said:

    It Works

    Then, after refreshing it send me straight to the create config screen for wordpress and skipped the database start section. When I submitted the information your tutorial included it says :

    „We were able to connect to the database server (which means your username and password is okay) but not able to select the (my database name) database.“

    What do I do to fix this?? I was reading online and it says that there are some issues with Mac Mountain Lion, so I turned off the web sharing, which was the solution for this problem on all other sites. Please please please help!!

    – Jen

    • WPBeginner Support says

      Jen, open your wp-config.php file which is located in your WordPress installation’s root directory. Look at the Database, database username and password sections. Go to phpmyadmin by typing

      http://localhost/phpmyadmin in the browser. Make sure that the database name in your wp-config file exists. Also check that the username used in wp-config file has all privileges by clicking on the Users tab in phpmyadmin.

      Admin

  24. brad says

    i rescind my prior victory, when i finished working on my site, I stopped the servers and quit MAMP. When I restarted MAMP to work on a new project a few hours later I am unable to access any files in htdocs without a 404 error. MAMAP support forums have almost no responses to this issue, any one here have this issue? Any possible help? I’m not a tech person, just a designer so this is mostly greek to me.

  25. jeroen faber says

    Great guide!
    One thing: the following line in the guide:

    „Open a new browser window and type http://localhost/mysite.“

    didn’t take me to the WordPress installation screen, just typing „localhost“ in the browser did.

    Did i make some mistake in the configuration or….?

  26. Ton in 't Veld says

    I’ve made many sites already with Dreamweaver. Now I want to set up a WordPress blog for my wife. I installed MAMP. So far so good. In the preference I tried to start the servers. MySQL Server worked immediately, but the Apache server doesn’t go to green. I alreadyI switched off Skype (as advised before.

    Many thanks for looking atmy problem.

  27. Justin says

    That was exactly what I needed. One hang up I had was that „Web Sharing“ was turned on in my Mac OSX „System Preferences.“ It was causing a duplicate Apache server to run, which prevented phpmyadmin or the „Start Page“ from running.

  28. JaY Srivastava says

    Thanks for saving me real time, i knew how to do that on windows, but since i use my mac as my main work laptop it was getting difficult for me to test websites.
    I have been always fan of wpbeginner but now i guess it has grown more.

    Thanks Again !

  29. RW says

    Been using my first install of mamp ever since I read this tutorial. The only thin that I’m struggling with is, porting it over to a live production site. I’m assuming I have to export my DB and then import it using phpmyadmin, but obviously, some things will have to change. Also have to manually upload all upload folders as well.

    Does anyone have recommended workflow ideas?

    Thanks,
    Bob

    • Editorial Staff says

      If you have BackupBuddy, then you can easily create a full backup file and import that. To do it manually:

      1. Install WordPress on new site and copy/paste the /wp-content/ directory from the old site.
      2. Import all content using phpMyAdmin
      3. Change the site_url and home_url options in wp_options to reflect the new site.
      4. Login to the new site and go to Settings > General and click on the save button.
      5. Go to Settings > Permalinks and click on the save button.

      Admin

      • RW says

        perfect! thanks! never loved backupbuddy as it didn’t reliably work for me. the manual approach looks simple! thanks so much!

        Bob

  30. Gautam Doddamani says

    i have been using XAMPP from a long time and its serving me well…it has the same functionality as MAMP and perfectly runs on a mac :D

  31. Debbie says

    Finally, concise, step-by-step instructions on how to set-up WordPress. I have followed other instructions and still get lost on what to do. Thank you so much!!

  32. Luke says

    Definitely a useful process! I wish I had this article the first time I tried to set this up. It would have been a huge help!

    What’s your opinion on modifying the hosts file to allow using a DNS name for the local site ( example.com instead of localhost )? Good practice? Bad practice?

    I’ve personally found it helpful when transferring a site I’ve developed locally to a live server.

  33. RW says

    That’s so helpful. I’ve read about doing this and I think it will save so much time working locally on sites. I guess it has to be configured (or reconfigured) for different sites?

    Thanks,
    Bob

Eine Antwort hinterlassen

Danke, dass du einen Kommentar hinterlassen möchtest. Bitte beachte, dass alle Kommentare nach unseren kommentarpolitik moderiert werden und deine E-Mail-Adresse NICHT veröffentlicht wird. Bitte verwende KEINE Schlüsselwörter im Namensfeld. Lass uns ein persönliches und sinnvolles Gespräch führen.