Sign Up for OSTraining

Welcome, Guest
Username: Password: Remember me

TOPIC: Can't get wordpress to write the wp-config.php file

Can't get wordpress to write the wp-config.php file 1 year 1 month ago #45605

  • goliver5
  • goliver5's Avatar
  • OFFLINE
  • OSTarter
  • Posts: 9
  • Karma: 0
I have finished the beginner course and have just started the intermediate course. I am trying to set up wordpress to run on my laptop. In the set-up process, when I try to set up the Configuration file, I get the following message:


Sorry, but I can't write the wp-config.php file.

You can create the wp-config.php manually and paste the following text into it.

[screen with text to copy is in a window here]

After you've done that, click "Run the install."




Did I do something wrong? How do I move forward?
Please become a member of OSTraining to reply to this post.

Can't get wordpress to write the wp-config.php file 1 year 1 month ago #45609

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 3105
  • Thank you received: 7
  • Karma: 0
Hi goliver5,

You didn't do anything wrong. It may just be the way your server is set up or the way permissions are set on the directory.

Creating the file manually is perfectly acceptable. Do you have enough instructions to know how to do that?

Let us know.
Cheers,
Ed
Please become a member of OSTraining to reply to this post.

Can't get wordpress to write the wp-config.php file 1 year 1 month ago #45611

  • goliver5
  • goliver5's Avatar
  • OFFLINE
  • OSTarter
  • Posts: 9
  • Karma: 0
I do not. Not sure where to copy the supplied text...
Please become a member of OSTraining to reply to this post.

Can't get wordpress to write the wp-config.php file 1 year 1 month ago #45616

  • Nick
  • Nick's Avatar
  • NOW ONLINE
  • Administrator
  • Posts: 17192
  • Thank you received: 450
  • Karma: 64
Hi and welcome, goliver5!

What software are you using for localhost? For example, WAMP, MAMP, Uniserver, Xampp, etc. Also, are you using a Mac Windows operating system for your computer?

Either way, all you have to do is go to where you installed Wordpress. So the same folder that contains your wp-admin folder, wp-content folder, and wp-includes folder. Then, in there create a "wp-config.php" and paste your code into the file. You can use an editor to do that or depending on your laptop, right click and create a new file.

Let us know if you have any questions.

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Can't get wordpress to write the wp-config.php file 1 year 1 month ago #45622

  • goliver5
  • goliver5's Avatar
  • OFFLINE
  • OSTarter
  • Posts: 9
  • Karma: 0
Thanks! That was what I needed to get things up and running.

To answer your question, I am running Xampp on Mac OS 10.7.3.
Please become a member of OSTraining to reply to this post.

Can't get wordpress to write the wp-config.php file 1 year 1 month ago #45625

  • Nick
  • Nick's Avatar
  • NOW ONLINE
  • Administrator
  • Posts: 17192
  • Thank you received: 450
  • Karma: 64
You're welcome! I'm glad you got things running! :)

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Sign Up for OSTraining

Copyright 2013 Open Source Training, LLC. All rights reserved.