Forums

Following Installation Video, Error message when attempting to change config.php (6 posts)

  1. shannasmith
    Member
    Posted 3 years ago #

    I am currently following the video provided by wordpress on how to install on cpanel. I have got as far as to type in my address (http://digitaldesignsphoto.com/blog) and it tells me I need to create the wp-config.php file, then it gives me the button "create a configuration file". I click it and get the following error message:

    "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."

    Again I have followed the video exactly. I attempted to change it myself through file manager but it will not let me save it, it tells me I do not have permissions. Any ideas would be appreciated. Also, my hosting is with bludomain, and that is the cpanel I am using.

    Thank you.

  2. desertwebdesigns
    Member
    Posted 3 years ago #

    This really depends on how your server runs Apache. Apache may run as the Apache user in virtual/dedicated server environment. In a shared hosting environment, it will probably run as your domain/ftp user. My guess is it is running as Apache and does not have permission to change the file wp-config-sample.php to wp-config.php because the file does not have group/other write permissions and Apache does not own the file.

    Change the permissions on the wp-config-sample.php file to 777, run the install.php script, then change wp-config.php back to 644.

  3. shannasmith
    Member
    Posted 3 years ago #

    I am in there now trying to change the permissions, but it will not let me type 7 7 7 in the boxes to replace the current 6 4 4. Any other suggestions?

  4. shannasmith
    Member
    Posted 3 years ago #

    Okay I got the permissions changed to 777, how do I run the install.php script?

  5. shannasmith
    Member
    Posted 3 years ago #

    I figured out how to do it manually, it is all installed and working. Thanks!

  6. desertwebdesigns
    Member
    Posted 3 years ago #

    Glad it's working.

Topic Closed

This topic has been closed to new replies.

About this Topic