Title: Problems installing.
Last modified: August 19, 2016

---

# Problems installing.

 *  [davidhaigh](https://wordpress.org/support/users/davidhaigh/)
 * (@davidhaigh)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/problems-installing-2/)
 * I have installed XAMPP on my mac
 * Then created a database called ‘wordpress’ like every tutorial tells me to at
   first.
 * Then copied the wordpress files into my ‘htdocs’ folder
 * I then type in my browser address bar ‘localhost/wordpress’
 * this message appears…
    ** “There doesn’t seem to be a wp-config.php file. I need
   this before we can get started. Need more help? We got it. You can create a wp-
   config.php file through a web interface, but this doesn’t work for all server
   setups. The safest way is to manually create the file.”
 * Create a Configuration File
 * which seems to me normal, right?
 * then i go ahead and attempt to create one through this link and i get…
    **Sorry,
   I can’t write to the directory. You’ll have to either change the permissions 
   on your WordPress directory or create your wp-config.php manually.**
 * What exactly does it mean by change the permissions? Change the DB name? username?&
   Password?
 * I have tried just renaming the file wp-config.php and also saving it with the
   details changed
 * With and without changing the details i get…
    **Error establishing a database
   connection**
 * What am i missing? It is extremely frustrating!
 * All i want is a bloody blog on my website.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [davidhaigh](https://wordpress.org/support/users/davidhaigh/)
 * (@davidhaigh)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/problems-installing-2/#post-1124181)
 * Do i need to change the CHMOD? where do i do that?
 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/problems-installing-2/#post-1124184)
 * look, if you open the sample wp-config.php or the renamed one, you’ll see that
   it needs information entered into it. That process is covered in EVERY doc.
 * You edit the sample wp-config.php, then you rename the file so thats its NOT 
   a sample anymore.
 * simple.
 * as for the chmod bit — youve installed a web server on your machine, so I reccomend
   getting acquainted with what that entails.
 * wordpress will add the info you tell it during that “lets make a wp-config.php”
   process — BUT in order to do so, it needs write permissions to the file.
 * Again, permissions are a standard knowledge item for people that intend on running
   a **server** of any kind.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Problems installing.’ is closed to new replies.

## Tags

 * [wp-config.php](https://wordpress.org/support/topic-tag/wp-config-php/)
 * [xampp](https://wordpress.org/support/topic-tag/xampp/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 2 replies
 * 2 participants
 * Last reply from: [whooami](https://wordpress.org/support/users/whooami/)
 * Last activity: [16 years, 11 months ago](https://wordpress.org/support/topic/problems-installing-2/#post-1124184)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
