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

Så här installerar du WordPress på en Windows-dator (2 metoder)

Vill du installera WordPress lokalt på din Windows-dator?

Working with WordPress on your computer allow you to test new WordPress features, learn how to develop with WordPress, and make websites before migrating them to the live server.

I den här artikeln visar vi dig hur du installerar WordPress på en Windows-dator med hjälp av två olika metoder. Detta fungerar på Windows 8, Windows 10 och andra versioner av Windows också.

How to Install WordPress on a Windows computer

Varför ska du installera WordPress på Windows?

Om du installerar WordPress lokalt på din dator får du en testmiljö som inte påverkar din live website eller blogg. En install av WordPress på din dator kallas också för en lokal server eller localhost.

Normalt använder WordPress utvecklare lokala WordPress install för att utveckla sina WordPress tillägg och teman.

Beginner användare kan också installera WordPress på sina datorer för att lära sig WordPress, testa new WordPress teman och tillägg, och experimentera utan att påverka en live website.

Note: Om du installerar WordPress lokalt på Windows är det bara du som kan se den webbplatsen.

Om du vill skapa en website som är tillgänglig för allmänheten måste du ha ett domain name och ett webbhotell. Vi rekommenderar att du följer den här guiden om hur du startar en blogg i WordPress.

Med detta sagt, låt oss ta en titt på hur man installerar WordPress på en Windows dator. Vi visar dig två enkla sätt, så du kan klicka på länken under för att hoppa vidare till någon section som du är intresserad av:

Installera WordPress på Windows med hjälp av språkversion av WP

Local WP, tidigare känt som Local by Flywheel, är en lokal webbprogramvara som låter dig servera en webbplats på din dator istället för en staging- eller live-server.

Först måste du ladda ner och installera Local WP-programvaran på din Windows-dator. Gå bara till språkversionens website och clicka på knappen ”Download for Free”.

Download Local by Flywheel

Därefter visas ett popup-fönster där du måste välja din plattform.

Gå vidare och välj ”Windows” från dropdown-menyn.

Choose Windows as your platform

Därefter kan du ange dina detaljer som för- och efternamn, e-post adress och telefonnummer för att ladda ner programvaran.

När du har enter detaljerna klickar du helt enkelt på knappen ”Get it Now”.

Enter your details

Efter det kan du ladda ner programvaran på din dator. När den har laddats ner, fortsätt och starta installationsguiden.

Nu måste du selecta om du gillar att installera programvaran för all användare eller bara you. När du har valt ett alternativ klickar du på knappen ”Next”.

Choose user profiles for software

I nästa steg kan du selecta ”Destination Folder” där programvaran ska installeras.

Klicka bara på knappen ”Browse” för att ange sökvägen och klicka sedan på knappen ”Install”.

Select your installation path

Språkversionen av Local WP installeras nu på din Windows dator.

När det är gjort kan du markera kryssrutan ”Run Local” och klicka på knappen ”Finish” i installationsguiden.

Run local software

Programvaran kommer nu att starta på din Windows device.

Nästa steg är att add new en ny lokal website. För att göra det klickar du bara på plusknappen (+) längst ner.

Add a new local site

Därefter kan du skapa en site i programvaran Språkversion.

Gå vidare och välj alternativet ”Skapa en ny site” och klicka på knappen ”Fortsätt”.

Create a new WordPress site

Därefter kan du enter ett namn för din lokala website som gillar wordpresslocalsite.

Det finns också avancerade alternativ där du kan enter den lokala webbplatsens domän och den lokala webbplatsens sökväg. Om du bara är nybörjare rekommenderar vi att du behåller standardinställningarna.

När du är klar klickar du bara på knappen ”Fortsätt”.

Enter a name for your site

Därefter måste du välja en miljö för din lokala website.

Du kan använda ”Preferred”-miljön där programmet automatiskt väljer PHP-version, web server och MySQL-version. Å andra sidan kan du också välja ”Custom” och enter miljöns details.

I den här tutorialen använder vi alternativen ”Preferred settings” och clickar på knappen ”Continue”.

Choose an environment

Därefter kan du enter ett WordPress användarnamn och password för din språkversion av din website. Dessutom finns det också ett alternativ att välja en WordPress-e-postadress där du kommer att få alla email addresses.

Det finns också ett avancerat alternativ där programvaran kommer att fråga om du har ett WordPress multisite network.

När du har enter dessa details klickar du på knappen ”Add Site”.

Select a username and password

Programvaran installerar nu WordPress och skapar din website.

För att starta den lokala webbplatsen, gå vidare och klicka på knappen ”WP Admin” i programvaran.

Open WP admin

Därefter ser du WordPress admin login page.

Ange bara användarnamn och password som du angav tidigare när du konfigurerade den lokala website och klicka sedan på knappen ”Logging”.

Login page example

You can now edit your local website on your Windows computer.

När du är klar, glöm inte att stoppa webbplatsen från WP-programvaran genom att clicka på knappen ”Stop site”.

Click the stop site button

Installera WordPress på Windows med hjälp av WampServer

WampServer eller WAMP är en sammanställning av Apache web server, PHP och MySQL buntade för Windows-datorer.

Alla är separata program med öppen källkod. Att installera dem separat är dock inte helt enkelt ens för erfarna användare. Programvara som WampServer gillar tillåter dig att enkelt installera dem och ha en fungerande lokal miljö inom några minuter.

Först måste du downloada WAMP-programvaran och installera den på din dator. Gå till WampServers website och klicka på knappen ”Start Using WampServer”.

WampServer site

Det kommer att ta dig till download section. Du kommer att se två versioner här: WampServer 32 bitar och WampServer 64 bitar.

You need to select the WampServer version that matches the operating system type of your Windows computer.

Select your Windows version

För att ta reda på om du använder ett 32- eller 64-bitars operativsystem, sök helt enkelt efter ”Control Panel” i sökfältet i Start-aktivitetsfältet.

Efter det kan du gå till System och säkerhet ” System på din dator. Där kommer du att kunna se din Systemtyp.

Check system type

Nu när du vet vilken typ av Windows-operativsystem du har, väljer du helt enkelt korrekt version av WampServer-programvaran.

När du klickar på knappen download öppnas ett formulär där du ombeds lämna dina personliga details. Om du inte vill lämna denna information, fortsätt klicka på länken ”du kan ladda ner den direkt”.

Download Wamp directly from the link

När du har downloadat kan du clicka på filen WampServer execution för att runna installationen.

Välj nu ett språk i dropdown-menyn och klicka på knappen ”OK”.

Select your language

I nästa steg kommer du att se licensavtalet.

Gå vidare och välj alternativet ”Jag godkänner avtalet” och klicka på knappen ”Nästa”.

Agree to license agreement

Därefter kommer Setup Wizard att visa information om WampServer-installationen.

Du kan helt enkelt klicka på knappen ”Next” för att fortsätta.

Read general information and click next

Därefter kan du välja den destination location där programvaran kommer att installeras.

För att ändra standard location, gå vidare och klicka på knappen ”Browse” och välj din önskade folder. När du är klar klickar du på knappen ”Next”.

Select your destination folder

Setup Wizard kommer att be dig att select olika komponenter som du gillar att installera. Dessa inkluderar PHP-versioner, MySQL-versioner och mer.

Du kan också behålla standardalternativen och klicka på knappen ”Nästa” för att gå vidare.

Select installation components

Därefter kan du välja en folder i startmenyn. Gå vidare och klicka på knappen ”Browse” för att välja en annan folder.

När du har valt en folder klickar du på knappen ”Next” för att fortsätta.

Select a start menu folder

Programvaran kommer nu att vara redo att installeras. You can see a summary of the destination location, setup type, selected components, and more.

Gå vidare och klicka på knappen ”Installera”.

Ready to install

Under installationen måste du ange location för web browsern. Som standard kommer det att vara Internet Explorer.

You can change that to Google Chrome or any other web browser by locating it in the Program Files of your computer.

Select a different browser

På samma sätt kommer den också att fråga om du gillar att använda Notepad när du använder WampServer.

Därefter kommer Setup Wizard att visa information om hur WampServer fungerar.

Gå vidare och klicka på knappen ”Nästa”.

Read information on how to use WampServer

Du har nu utan problem installerat WampServer på din Windows device.

Klicka bara på knappen ”Finish” för att avsluta Setup Wizard.

Finish the setup wizard

När du har installerat WampServer kan du starta den från din genväg på skrivbordet eller från den location där du installerade programvaran.

Nästa sak du behöver göra är att skapa en tom MySQL database.

När du startar WampServer kommer du att se en grön icon längst ner till höger på din vy tillsammans med andra icons. Vänsterklicka på den och klicka sedan på phpMyAdmin (ett webbaserat program för att hantera MySQL databaser).

Obs/observera: Om WampServer-ikonen är röd eller gul betyder det att tjänsterna (Apache, MySQL, PHP) inte är igång. Du måste starta tjänsterna genom att clicka på ikonen innan du konfigurerar databasen.

Open phpmyadmin from the taskbar

Det kommer att ta dig till phpMyAdmin login vy på din web browser.

Du behöver bara enter användarnamnet: root och lämna fältet för password tomt. Detta är standard credentials för att logga in på din localhost phpMyAdmin.

Login to your phpmyadmin panel

Klicka på knappen ”Go” för att fortsätta.

När du är inloggad måste du klicka på Databases i phpmMyAdmin för att skapa en new database för WordPress.

It will ask you to choose a name for your new database (vi döpte vår till test_db). Efter det klickar du på knappen ”Create”.

Create a database

Your database är klar, vilket innebär att du nu kan installera WordPress på localhost.

Nästa sak du behöver göra är att downloada den senaste versionen av WordPress från WordPress.org website. Den kommer att downloadas som en ZIP-fil.

Download WordPress

Därefter måste du extrahera ZIP-filen och kopiera mappen ”wordpress”.

I den här tutorialen använder vi WinRAR för att packa upp filen. Klicka bara på alternativet ”Extrahera till” högst upp.

Extract WordPress files

Nu måste du navigera till den folder där du installerade WAMP.

I den här tutorialen installerade vi WAMP i C:\wamp64, så vi kommer att hänvisa till den foldern vidarebefordran. Tänk dock på att det kan vara annorlunda för dig beroende på var du installerade programmet.

Klistra in mappen ”wordpress” i mappen C:\wamp64\www.

Paste WordPress folder to Wamp

Du kan byta namn på ”wordpress”-foldern till vad du vill, t.ex. mysite, testsite etc. Detta kommer att vara URL:en till din språkversion av WordPress site, så se till att välja något som är lätt att komma ihåg.

I den här tutorialen har vi bytt namn på foldern från wordpress till mysite.

Därefter kan du öppna web browsern och gå till http://localhost/mysite/ och clicka på ”wordpress” folder.

Go to the wordpress folder

Först ber den dig att välja ett språk och sedan visar den dig information om installation av databasen.

När du har valt språk klickar du på knappen ”Fortsätt”.

Select a language

Därefter ser du ett notice som hälsar dig välkommen till WordPress.

När du har läst den noggrant, gå vidare och klicka på knappen ”Let’s go” för att fortsätta.

Welcome to WordPress notice

Efter det måste du enter din database details gillar databasnamn, användarnamn, password, server och tabellprefix.

Namnet på databasen kommer att vara det som you enter i föregående steg. I vårt fall antog vi namnet ”test_db”. Användarnamnet blir ”root” och du kan lämna fältet för password tomt. Du kan också låta databasens server och tabellprefix vara som de är.

Enter username and password

Klicka sedan på knappen ”Submit” och WordPress kommer att skapa en konfigurationsfil åt you i back-enden.

På nästa vy ser du ett success message som visar att WordPress är ansluten till din database och att du kan fortsätta med installationen.

Gå vidare och klicka på knappen ”Run the installation” för att fortsätta.

Click run the installation

Då kommer du till WordPress välkomstvy. You need to add a title for your new WordPress website, choose an admin username, enter a strong password, and provide an admin email address.

När du är klar klickar du på knappen ”Install WordPress”.

Enter login information

När installationen är completed ser du ett success message. I bakgrunden har WordPress skapat new tables i din Database och är nu redo att användas.

Du kan sedan gå vidare till din WordPress dashboard genom att clicka på knappen ”Logga in”.

Log in to your admin panel

Grattis, du har utan problem installerat WordPress på en Windows-dator med hjälp av WampServer.

Logga bara in på din WordPress adminpanel och börja editera din site i en lokal miljö.

Logging into a local WordPress website

Aktivera vackra permalänkar i WAMP

Den nya versionen av WordPress förstör inte din lokala site genom att ändra inställningen för permalänkar.

Men om du fortfarande ser ”page not found”- error på dina pages efter att ha ändrat permalänkarna från Settings ” Permalinks i WordPress, följ då vår guide om hur du aktiverar customizer permalänkar i WAMP.

Bonus: Flytta WordPress från språkversion till Live

Vi har också skrivit en separat guide om hur du flyttar WordPress från en lokal server till en live site. Förhoppningsvis kommer du att ha nytta av den när du är redo att driftsätta din lokala site till produktion.

Att ha en lokal server är bra för inlärnings- och teständamål. Men om du vill starta en WordPress-blogg som andra kan se behöver du ej installera WordPress på din dator. Du måste installera WordPress på ett WordPress hosting provider.

Vi hoppas att den här artikeln hjälpte dig att lära dig hur du installerar WordPress på en Windows-dator. Du kanske också vill se vår guide om sökmotorsoptimering i WordPress och hur du startar en store.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Avslöjande: Vårt innehåll stöds av våra läsare. Det innebär att om du klickar på några av våra länkar, kan vi tjäna en provision. Se hur WPBeginner finansieras, varför det är viktigt, och hur du kan stödja oss. Här är vår editoriala process.

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

Den ultimata WordPress-verktygslådan

Få GRATIS tillgång till vår verktygslåda - en samling WordPress-relaterade produkter och resurser som varje professionell användare bör ha!

Reader Interactions

767 kommentarerLämna ett svar

  1. Syed Balkhi

    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. Bidyut Kumar Mondal

    Thanks a lot for such a wonderful post.

  3. Ali

    Just to say Thank you very much.

  4. sreenu

    thank you…thank you soooooooooooo much ..

  5. Nissim

    Thank you so much. this was sterling

  6. adriana

    OMG i made it through. lol. thank you for your time writing this, it helped me through the panic stage lol

  7. mahendra

    Who help of peoples, They are God

  8. Kenneth Ekeh

    Help please! I have followed the article and installed wamp, created the wp database but culd not be able to run complete configuration of wp. Its telling me ”can’t select database”. Try Again. Please help me to fix this. Thanks.

    • WPBeginner Support

      During the installation when it asks for your database details, please make sure that you are entering the same name for the database which you used when creating database in phpmyadmin. For username, use root and leave password blank.

      Administratör

    • Tom

      Upon opening mysql workbench, choose your connection, then write the code without quotes ”create database nameofyourdatabase;” this will be the name of your database and what you will use in the wordpress setup when it asks for the name of your 1)database(use nameofyourdatabase) 2)username 3)password 4)database host(im using ”localhost”)

      Hope this helps.

  9. Tammi L. Coles

    Just a quick note of thanks for this very simple-to-follow tutorial. It worked like a charm (including the Apache rewrite for permalinks follow-up).

  10. ogunmakinwa dayohanks.

    Your tutorials as been good for me so far, but please which stable wordpress can i download? can i download the latest version? i am just thinking that some plugins might not be available for the latest version.. so for now which version do you recommend for me? thanks

  11. Mohamed Ishag

    Hi there,

    Would you please answer the question posted on 12/11/13 I still need help
    as I am unable to run the WAMP Server on Windos 8. Please read question posted on 12/11/13.
    Thank you in advance.

    Regards,
    Mohamed

  12. Orestes

    I was able to install WP, but I’d like to know how to manage different web logs within my local server. Thank you for the instructions and tutorials here.

  13. GinoDC

    After entering details for Site Title, Username, Password and Email I press Install WordPress and my computer hangs. Please help.

    • WPBeginner Support

      This could happen for a number of reasons. Try to uninstall wampserver and then download and reinstall again. If the problem presists, then you can try XAMPP.

      Administratör

  14. Mohamed Ishag

    Hello,

    I have installed WAMP on Windows 8 but I am having a problem creating a data base due to the following error (You don’t have permission to access /phpmyadmin/ on this server). I have edited the htpd.conf file as follows

    Open file httpd.conf through wamp tray icon

    Find:
    # onlineoffline tag – don’t remove
    Order Deny,Allow
    Deny from all
    Allow from 127.0.0.1

    Change to:
    # onlineoffline tag – don’t remove
    Order Deny,Allow
    Allow from all

    Then saved but still get the same error, why!? Norton 360 is installed on the PC
    and no other conflicting apps. I need some help to fix this issue. Any ideas? Thank you in advance.

    Best Regards,
    Mohamed

  15. Mohamed Ishag

    Dear Syed and the team,

    Thank you very much for this site. I am new to WordPress and found your tutorials and explanation very good and straight forward. I feel that you are a busy man but still have time to dedicate this site to new WP beginners. God bless your parents.

    Salam,
    Mohamed

  16. adam

    Hello,

    I have installed everything and am finally at my wordpress dashboard on my localhost machine. everytime i click on visit my site to view what I have changed the page simple directs to the WAMP server configuration screen that shows apache version, php version, loaded extensions, etc… It seems that something simple needs to be changed but I dont know…Can anyone please help? Thanks in advance…

    • WPBeginner Support

      You have probably installed WordPress in www directory. You need to install it in a subdirectory like www/testsite1/

      Administratör

      • Nuno

        Hey i have the same problem, so if i just copy all the files to a subdirectory it will work or do i have to reinstall it all over? Thanks.

  17. Matthew

    Thank you, than you, thank you. I am a technophobe and your clear instructions helped me all the way.

  18. Arthur

    Hi,
    After installing WAMP in accordance with your instructions, I could not open phpmyadmin; explorer kept waiting for localhost. I’m not a pc techie so I desperately need instructions how to proceed furter in the same easy way as your manual above. I have a 64 bit W7 machine, and installed the 64 bit version of WAMP first, but since that did not work as described , I installed the 32 bit, but with the same result. Thanks for your help in advance ! (No Skype, port 80 OK, as far as I can see)

    • WPBeginner Support

      Try restarting all services make sure that WAMPServer icon is green also make sure that Skype is not running in the background. Also look at this support thread for more possible solutions.

      Administratör

      • Arthur

        Thanks a lot: I followed your recommended thread and I removed a double line in the Host file (’127.0.0.1 Localhost’) that seemed too much and now I can get to a log-in page of phpMyAdmin, which is great, but I have not yet even entered an ID and password during initial installation of WAMP. Did I miss something ?
        Thanks for your patience again…

        • WPBeginner Support

          To log in to phpMyAdmin, enter username root and leave password blank.

  19. Trudy Ritsema

    Can I run more than 1 test site on WAMP? and any ideas of how I would go about this please?

    I already I have localhost site running – and I don’t want to get rid of that yet as I am still developing it…

    Thanks in advance.

    • WPBeginner Support

      in your www directory create new directories for each website. That way you can run multiple sites on localhost.

      Administratör

  20. viki

    i can’t create new database, bcause it is showing ” * No Privileges” in red colour letters. please help me

    • WPBeginner Support

      you are probably entering wrong credentials to connect to your mysql database.

      Administratör

    • nick mav

      you should login using the following credentials:
      username: root
      password: [empty] –> that is, no password

      • Shawn Morrissey

        Thanks Nick,

        I had the same issue and couldn’t find this out anywhere I had looked previously…

  21. SanketP

    Hi. I am a new-bee to this world of eb designing. Wanted Joomla but that didnot go thru too well. WP instal was as good for me. Thank you. XOXOXO.

  22. Everett

    Hello. I want to be able to develop my wordpress site locally and not have to be connected to the web when I make changes and do save or update inside wordpress. Before I go through all the installation of WAMP and WP locally, can anyone tell me if I will have to have internet access to make updates to a wordpress running locally in WAMP? Sure I realize if I wanted a new Theme or Plugin, I would have to be online, but if I am just making adjustments to text and adding pictures that are already on my laptop, etc. will I have to have internet access to do so? I ask because I do a lot of travel where I am on an airplane and could be working on a new version of a website if I don’t have to be online. Also, I can’t afford a wireless account for my laptop, so I only have internet when I am at home with my own wifi or when I am somewhere that has a free wifi. Thanks.

    • WPBeginner Support

      no you do not need an internet connection to work locally on your website.

      Administratör

  23. Ian

    I followed the instructions to the letter, installed WAMP and the required SP1 Visual C++ on a brand new laptop running Windows 8 64bit. The installation refuses to launch, brings up a screen asking if I’m sure I want to let this programme make changes to the computer, then does nothing when ’Yes’ is clicked. What is going wrong?

    • WPBeginner Support

      Does the wampserver icon appear in your windows taskbar? If it does, then you need to click it and launch wampserver.

      Administratör

      • Brynn

        Please help. I installed WAMP but when I went to open phphMyAdmin, nothing happens. I tried uninstalling and reinstalling, but still getting the same problem. I’m not even getting any sort of popup block notification in my browser. Just nothing.

        I wonder if this might have something to do with the WARNING window that popped up on the WAMP website before I downloaded it… It said something in French, and then something about needing to install C++ which I know nothing about, and which was not mentioned in this tutorial.

        Do I need to install C++ and if so, do I need to learn how to use the programming language before I can finish this tutorial on installing WordPress? I am a designer, not a programmer, so I hope to god I don’t need to stop everything and go learn C++ before I can do a simple WordPress install.

        • WPBeginner Support

          Brynn you can always check whether or not Microsoft Visual C++ is installed on your computer from Control Panel -> Programs and Features. Do you see wampserver page when you visit http://localhost? If you do, then you have already successfully installed WAMP.

  24. John Victor

    Can I hug you now or later?

  25. Anudeep

    Awesome tutorial

  26. guru

    I install wordpress to my localhost. But i dont know to use it to develop a site. I’m new to wordpress. Please anyone help me.

  27. Scott Cho

    Got WAMP installed, but when I try to create a new databse by clicking on the phpMyAdmin button in WAMP the chrome browser window that opens up says:

    Forbidden
    You don’t have permission to access /phpmyadmin/ on this server.

    Can anyone point me in the right direction as to what this is and how to fix it? I don’t know if this makes a difference but I have it installed on my secondary hard drive, not my C drive (the c drive just has my operating system).

  28. Asad Riaz

    Here is how you edit the htpd.conf file

    Open file httpd.conf through wamp tray icon

    Find:
    # onlineoffline tag – don’t remove
    Order Deny,Allow
    Deny from all
    Allow from 127.0.0.1

    Change to:
    # onlineoffline tag – don’t remove
    Order Deny,Allow
    Allow from all

    Plus resolution to some other conflicts

    Make sure no other program conflict wamp such as Xampp, phpEasy, IIS, Skype, Zonealarm, firewall/antivirus, NOD32, Eset, any web and/or Remote Desktop related program, such as Teamviewer …

    IIS and Apache/Wamp are both web server and might conflict in some way, so you have to disable IIS in order for Wamp to work

    Disable IIS in Vista/W7:

    Control Panel, Uninstall Programs, Turn Widows Features On or Off, uncheck Internet Information Services

    Disable IIS in XP:

    Control Panel, Add/Remove Programs, Add/Remove Windows Components, uncheck Internet Information Services (IIS)

    Restart computer, then restart Wamp

    Also, in folder C:\WINDOWS\System32\drivers\etc, open file hosts and delete anything in this file and have only this line below and nothing else

    127.0.0.1 localhost

    If using Skype, go to Tools->Options->Advanced->Connection and uncheck the box ”Use 80 and 443 as alternatives for incoming connections”. Restart Skype after WAMP. Now you will be able to use both programs at the same time w/o problems.

    I hope it helps, found it on net

  29. Asad Riaz

    Howdy,

    Well i have managed to install it using the article. Some info was missing in this article like

    1. Once you click on phpMyAdmin, it asks for login details, so here they are:
    username: root
    pass: (leave it blank)
    2. WAMP sometimes gets offline and it wont open the phpMyAdmin page, so you guys need to edit the htpd.conf file in C:wamp/bin/apache4.2/conf/htpd

    Lets see now how much it helps me.

    I m here for all the support that i can extend. :)

    Thanks to the author of this page.

    • Cesar M.

      thanks for the user info I was getting crazy, but I finally got in to phpmyadmin

  30. Colin Teasdale

    Hiya,

    Problem solved – I had needed to install the Visual C# redistributable, and did that after installing Winamp. Uninstalled Winamp, rebooted and then re-installed – everything fine. That’ll be user error then ! ! !

    Colin T.

    • Scott Cho

      I’m getting the same error you just described below, where is this redistributable you speak of?

  31. Colin Teasdale

    Hi guys,

    I’ve just downloaded and installed WAMP and have got to the ”set up a database” stage. When I select ’phpMyAdmin’ I get a ’Firefox Problem Loading Page’ page with ”Unable to connect – Firefox can’t establish a connection to the server at localhost”.

    I’ve tried the fix suggested by Imran on June 17th, but this doesn’t seem to have fixed resolved the problem.

    Any thoughts on how I fix this, please??

  32. Peter

    Hi Editorial Staff,
    Do you have a tutorial that is the reverse process also using WAMP? I have a functioning website that I would like to duplicate on my home computer for experimenting and learning css, and php programming without risking my functional website.
    Thanks.

    • EL

      That is exactly what I need!

  33. Denzil

    Hi, a very useful article, thanks. Is it easy to migrate a test WP site on WAMP to a hosted site elsewhere? Do you have a tutorial article to help?
    Thanks

    • Editorial Staff

      Yes, it is fairly easy to do that. Tutorial will be coming tomorrow :)

      Administratör

      • Denzil

        Great! How timely! Thanks guys, looking forward to it.

  34. Kate BP

    Absolutely cracking article – really helpful, thanks so much!

  35. akash

    After clicking on phpmyadmin,,,,,,,
    i am getting redirected to directly php my admin webpage and not the database entry option which is shown above.
    thereafter the details are not matching afterwards in database,username and password.please give me its solution as soon as psbl.

    • Amitoj Gautam

      User Name: Root
      Password: None (Leave this space empty)
      Click on the Go button. You will be directed to the page you are looking for.

  36. Dana

    Hi! Once I’ve created a site on my WAMP server, could I then transfer it to an existing domain name? I’m trying to create a new site without shutting down the old one. Once the new one is finished, I would want to replace the old one, but use the same domain name. Thank you!

    • Editorial Staff

      Yes you can do that. We have updated the article to add a link to the tutorial.

      Administratör

  37. vahid

    Thank you so much

  38. chris martin

    Hi, I am having trouble with links not working. Could you help me or give me some direction on how to fix that? On my site ”chrisjamesmedia.com” click menu, then ”blog” and i get ”not found”. This also happens with links as well.

    Also, do you have a tutorial on how to host multiple domains from this as well, or point me in the right direction.? I have looked up several things about virtual domain, localhost, and everytime I find something they want me to edit httpd conf, but what they have doesnt match mine.

    Thank you so much!!!!

  39. Tamsin

    Hi,

    Great article, very clearly explained.

    Would you be able to tell me the best way to add a second WordPress site to Wamp? I have read a lot of conflicting information and would rather not make a massive mess of things!

    • Editorial Staff

      Create a new folder inside your www folder, then repeat this process.

      Administratör

  40. Tom Smith

    Hi,

    Thank you for providing this excellent tutorial! It’s going to be great to get use to using WP onn my PC before I install it on my host server and create my website.

    I followed your instructions and installed WAMP and then WordPress and got all the screens you showed here… and with the tweaking you suggested, I was finally able to open WP – saw the Dashboard, etc. Then I closed it.

    But now I can’t seem to open WP. I open WAMP and click on Localhost – and it just sits ”waiting for response from localhost” – does not open anything. I’ve tried http://localhost/my database name – it will not open – I get ”HTTP 500 Internal Server Error”. Just in case, I also followed your instructions on SKYPE and unchecked that Port 80 box.

    What am I missing?

    • Editorial Staff

      Did you shut down your computer? You have to launch WAMP Server every time you restart your computer.

      Administratör

  41. Imran

    When i try to Setting Up a Database for WordPress, it was saying like this : Forbidden
    You don’t have permission to access /phpmyadmin/ on this server. what is the reason ? can you please guide me. thank you in advance….

    • Editorial Staff

      That’s weird. Since you are the admin of your Wamp install, then you shouldn’t get this error.

      Administratör

      • Imran

        Finally i got the solution…

        I think it will be useful for others.

        for phpmyadmin

        Goto c : wamp/alias/phpmyadmin.conf file, open with notepad.

        find

        Options Indexes FollowSymLinks MultiViews
        AllowOverride all
        Order Deny,Allow
        Deny from all
        Allow from 127.0.0.1

        replace with

        Options Indexes FollowSymLinks MultiViews
        AllowOverride all
        Order Deny,Allow
        Allow from all

        thats it…

        • Imran

          Thank you very much EDITORIAL STAFF, this is a nice post and very usefull.

        • Melanie

          I had this same problem with the phpmyadmin and I found and made the changes cited here to the alias file, then restarted WAMP and I was able to create my database. However, now I’m getting the same Forbidden message when I try to install WordPress on my localhost, exact text below:

          Forbidden
          You don’t have permission to access / on this server.

          I can get to the WP install screen from 127.0.0.1, but not localhost. I’m running Windows 8. Any ideas on how to get this to install? Thanks in advance for any help you might be able to give me.

  42. Akshay

    Hi.

    I wanted to use this method to test out plugins before installing then on my live site. So in your tutorial, instead of copying in clean WordPress files, I copied in a full backup of my site made using BackupBuddy.

    However from this point on I’m not sure what to modify in order for my site to function correctly offline. I edited my wp-config file to the new database details, and imported my database from my online phpmyadmin to the WAMP one. However it seems like there’s something I’m missing, as when I try to access localhost/site/wp-admin I am redirected to my online login page.

    Do you have any suggestions?

    Thanks very much for your help.

    Akshay

    • Brandi

      I’m in the same boat – did you ever find a solutions?

  43. Christophe R.

    Another (lazy) point for XAMPP : I know there are some differences in the config files, but I use both linux (at home) and Windows (Seven and 8) at work, so I appreciate having the same interface for I only have to learn once.

  44. Andre

    Great article and easy instructions for those who want to venture into WAMPP….however, for myself, I still prefer XAMPP and do run it on it’s own on a second drive without the installable version. Updating is a breeze, although I rarely need to.

    I’ve used XAMPP for many years now for both WordPress and Joomla theme development, as well for a testing server. Never had issues and I do find it quite easy to use. I used to use the full version but I found that the Lite version works extremely well.

    I noticed someone said AMPPS, but I’ve never tried that…perhaps in my spare time I will try it out.

    • Nicholas

      Its click and install that’s how easy it is and just open to localhost/ampps i use it for all my scripts that this includes as downloads and install on the service. no worries on xamp and wamp that i found to limited in some ways.

  45. Adrian

    Thanks alot it was really helpful

  46. Thomas

    Hi everyone,

    I’m a very beginner with WordPress and I have created a site with it and WAMP on my computer.

    Now I want to put it online, but I don’t know how to do it.
    Where does a tutorial exist for that?
    The thing is that I want to replace the current site, which is hosted somewhere else, and so keeping the domain name.

    Does anyone know where I can find this kind of information?

    Thanks a lot!

  47. Nicholas

    WAMP in the older days was great! Now there is a far more better and less embarrassing way when it comes to configuring things with WAMP. WAMP is in the past and gone for me. I use AMPPS far more better no configurations, just install and a few dips of changes in the options section that’s it. Open your browser go to your localhost and install any cms or other scripting lang within your browser using ampps. You’ll be amazed! No more downloading then extracting in www folder and then reconfiguring. WordPress is just a click and install on ampps. No hassle! Shouldn’t you guys write something about AMPPS? This is a lot more better than WAMP! WAMP lags a lot of things like cgi and stuff those are extras, but on ampps everything is included. Ever since ampps I never looked back to wamp! Sorry!

    • Editorial Staff

      Have been using WAMP for so long that didn’t even bother with another option. AMPPS sure looks good. Good to see that it is made by the folks from Softaculous. Will have to give it a try.

      Thanks for the suggestion Nicholas.

      Administratör

  48. Zimbrul

    Why do you say you prefer WAMP over XAMPP?

    • Alexander Gounder

      WAMP is much simpler and easier to use compared to XAMPP.

      • Editorial Staff

        Would second that. WAMP is easier to use. Several years ago when we used XAMPP the upgrade process was complicated and it was buggy. We switched over to WAMP and it was awesome.

        Administratör

  49. Parth S.

    Hi, Thank you very much for this. It’s very informative and easy to follow. However I’d suggest you mention the skype thing a lil early around the localhost point, because, there ppl start to worry when they see a blank screen with skype on in their PC. :)

    Great post though. Keep it up.

  50. Mladen

    Just to mention, that Team Viewer also causes problems with WAMP.

  51. Christophe R.

    I actually do prefer XAMPP and DTX-Control for I can overcome security policy : Installation without administration rights (zip file pour the web server) and full access to blocked ports (80, 443, 3306).

Lämna ett svar

Tack för att du väljer att lämna en kommentar. Tänk på att alla kommentarer modereras enligt våra policy för kommentarer, och din e-postadress kommer INTE att publiceras. Vänligen använd INTE nyckelord i namnfältet. Låt oss ha en personlig och meningsfull konversation.