• code191178

    (@code191178)


    Hi all,

    I’ve been trying to install WordPress 4.4.2 with WAMP on Windows 10 but not had any luck, despite reading quite a few guides and help topics.

    I followed this guide for doing the installation – https://www.wpbeginner.com/wp-tutorials/how-to-install-wordpress-on-your-windows-computer-using-wamp/

    In addition, by reading other online resources, I learned of problems that WAMP has in Windows 10 when the Apache httpd.conf file is setup to listen via Port 80. I edited that file to listen via Port 81 instead and WAMP seems to operate properly (at least, the W symbol in the taskbar is green).

    I created a database called ‘sa-site-dev’ using phpMyAdmin
    Snapshot here —> https://postimg.org/image/co90camqb/

    I also created a user named ‘Code’ and a password for that user.
    Snapshot of users list and their priviledges here —> https://postimg.org/image/f5kjlyrcn/

    I followed the guide and have copied all the WordPress 4.4.2 files to this location on my computer C:\WAMP\www\sa-site-dev

    I got to the point where you have to fill in your database name, username, password, database host & table prefix.

    ^ I’ve been through this step again and again, trying different entries, but nothing seems to work.

    My latest effort has been to fill in :

    database name : sa-site-dev
    username : Code
    password : ******** (the password!)
    database host : localhost:81
    table prefix : wp_

    When I do this and click ‘Submit’ the address bar in the browser eventually shows : https://localhost:81/sa-site-dev/wp-admin/setup-config.php?step=2

    … but nothing further happens.

    If I click in the address bar and press return then I get the following message :

    ERROR: “Table Prefix” must not be empty.

    … I read that sometimes there is a problem with making the wp-config.php file, so I copied and edited the wp-config-sample file and re-saved it as ‘wp-config.php’ in C:\WAMP\www\sa-site-dev

    I added the same info as above within the wp-config.php file

    database name : sa-site-dev
    username : Code
    password : ******** (the password!)
    database host : localhost:81
    table prefix : wp_

    Afterwards, when I returned to my browser and entered – https://localhost:81/sa-site-dev … the browser tries to load the link but can’t.

    I should also mention I’m using Microsoft Edge as the browser…
    My Firewall is Windows Defender.
    Any possible problems there ??

    Have spent alot of today trying to sort this out and going slightly mad now, so any help would be appreciated !!

    thanks in advance ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • Did you try setting database host : localhost(without port number) on the WP page?

    Also, try disabling the Defender, who knows what is it doing there in the background >_>

    Try editing wp-config.php manualy, fill all the info like site name, and other stuff.

    code191178 –

    Perhaps try the default WAMP database user credentials:

    User: root
    Password: <empty> do not enter anything

    The values would then be:

    database name : sa-site-dev
    username : root
    password : <empty>
    database host : localhost:81
    table prefix : wp_

    You could also try a different browser, but not IE ??

    Additionally, try disabling Windows Defender while doing the install.

    Cheers!
    Lyle

    Thread Starter code191178

    (@code191178)

    Sorry, been away and then was busy with other stuff since I came back…

    Anyway, got a chance to try out these suggestions today.

    First of all I changed my default browser to Firefox and then I switched off Windows Defender.

    @ Mikezgardan … I did try using ‘localhost’ instead of ‘localhost:81’ on the WP page, but I just a message saying “cannot make database connection” (or something similar).

    @ SniffleValve … I had tried those settings on the WordPress page before and they didn’t work. Tried them again today seeing as I changed my default browser, but still nothing doing.

    Arrrrgggggh…

    Thread Starter code191178

    (@code191178)

    Best result I’m getting is when I start off with no wp-config.php file.

    Then I type localhost:81/sa-site-dev in my browser window and that takes me to the WordPress install page.

    At this point I copy a self-generated wp-config.php file into the C:\WAMP\www\sa-site-dev folder.

    This wp-config file contains the following login details (same as in my 1st post above) :

    database name : sa-site-dev
    username : Code
    password : ******** (the password!)
    database host : localhost:81
    table prefix : wp_

    ^ I then enter these details on the WordPress install page and click ‘Submit’ …

    The page loads for ages but nothing happens.
    I tried clicking on the url window in the browser to try again … and then eventually I’m taken to this link —> https://localhost:81/sa-site-dev/wp-admin/setup-config.php?step=2

    Where it says :

    ‘ERROR: “Table Prefix” must not be empty.’

    I have the option to ‘Try Again’

    … so despite the change of browser, and despite turning off Windows Defender, I still seem to be at the same stage as I was when I originally posted this problem a few weeks ago.

    Thread Starter code191178

    (@code191178)

    … okay.. so I still haven’t had any luck with this.

    Is there an alternative to WAMP I could try that might work ??

    MAMP, EasyPHP, or something like that maybe ?

    Thread Starter code191178

    (@code191178)

    … Woah !

    Just got it to work ??

    Not exactly sure why it works now but here’s what I changed tonight.

    I was reading this article – https://www.elegantthemes.com/blog/tips-tricks/how-to-install-wordpress-locally-on-a-windows-computer

    ^ in there it says to change the port number in the httpd.conf file in 2 places (I had changed it in 3 places).

    So… originally I had changed 80 to 81 in these three lines within the httpd.conf file

    #Listen 12.34.56.78:80
    Listen 0.0.0.0:80
    Listen [::0]:80

    but this article recommended to only change 80 to 81 in these 2 lines

    Listen 0.0.0.0:80
    Listen [::0]:80

    Even after that I could only get WAMP to work if I deleted my existing wp-config file and then entered the following on the WordPress page :

    database name : sa-site-dev
    username : root
    password :
    database host : localhost
    table prefix : wp_

    ^ Entering localhost:81 DID NOT work

    Props to Mikezgardan for the suggestion to enter localhost in that field instead of localhost:81 – you’re at least part of the reason I can now stop tearing my hair out ??

    cheers!

    thank you, thank you, thank you!
    I’ve solved the same problem using this procedure!
    Cheers!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘WordPress installation on Windows 10 with WAMP not working’ is closed to new replies.