you should put the wordpress on a folder in the htdocs.
the folder should be htdocs/site_name the the url is localhost/site_name.
As Alen mentioned, you access the site with localhost/wordpress. On a new installation, this will start the install process.
However, before you do so, you have to create a new, empty database. Click on the Admin button for MySQL in the XAMPP Control Panel to start phpMyAdmin.
Once there, click Databases and enter wordpress as the database name then click Create.
Now you can go to http://localhost/wordpress and the install process will start.
At the database info page enter these values:
— database name: wordpress
— database user: root
— database password: <empty> do not enter anything!
— database host name: localhost (or 127.0.0.1)
— table prefix: wp_ (leave as-is)
LyleChamney,
I am trying to setup my localhost/wordpress/wp-admin/setup-config.php?step=2 but after entering this information I get
“Error establishing a database connection
This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at localhost. This could mean your host’s database server is down.
•Are you sure you have the correct username and password?
•Are you sure that you have typed the correct hostname?
•Are you sure that the database server is running?
If you’re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.”
But my wampserver is green, and I have configure my wp-config.php so I don’t know what I am doing wrong.
@ingrid466 – please start your own thread as your issue is for a different local server.