• I’m trying to install wordpress with MAMP (local host) and keep getting the error
    “Sorry, I need a wp-config-sample.php file to work from. Please re-upload this file from your wordpress installation.”

    I have already tried uninstalling wordpress 3 or 4 times and it still won’t work. I also tried calling my host (frontier communitcations) and they told me that I need to speak to wordpress support. If I needed to configure my modem they could help with that (open up or change ports etc). But I don’t know where my problem is.

    Please help!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • jack randall

    (@theotherlebowski)

    download wordpress, unzip it. inside there should be a file called wp-config-sample.php

    create a folder in the MAMP app’s htdocs folder and dump the wordpress files in there. if there’s currently no htdocs folder, create it.

    rename the wp-config-sample.php file to just wp-config.php

    in the MAMP homepage when you start it up you have a menu item called tools, in the dropdown from here select PhpMyAdmin and create a new database.

    in wp-config.php add in the name of the database you’ve just created, server = localhost, username and password are likely to be root (unless you’ve changed them!), save the file and close it.

    in your browser go to https://localhost:8888/whateveryoucalledthefolderwherewordpressis/index.php and follow the installation instructions. if your database settings are wrong then it will throw an error an tell you that it can’t connect.

    Thread Starter Ewolf4080

    (@ewolf4080)

    Ok, thank you for getting back to me

    I did these exact steps before. The only difference was that I went to https://localhost:8888/wp-admin/install.php. After tryong that URL I got the error “Sorry, I need a wp-config-sample.php file to work from. Please re-upload this file from your wordpress installation.”

    Now I typed in the URL you said to go to “https://localhost:888/localserverwp/index.php” which is what I named the folder that I created in htdocs. Now I”m getting the error “The requested URL/localserverwp/index.php was not found on the server'”

    I don’t know what I did wrong because I went through your directions exactly? Feeling lost Please help!

    Hi, checkout this tutorial on premium.wpmudev.org: https://premium.wpmudev.org/blog/develop-wordpress-locally-mamp/, i’m sure it will help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Trying to install local host with WordPress on a Mac’ is closed to new replies.