• When I go to my site I get the File Directory, I open wordpress and I get this:

    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.

    I click on Create Configuration File and get this:

    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.

    I don’t no shit about this and just want to set-up mai blawg…

Viewing 1 replies (of 1 total)
  • Hello,

    Rather than changing the permissions on the parent folder and potentially opening up a security hole, you’ll want to upload a wp-config.php file as follows:

    <?php
    // ** MySQL settings ** //
    define('DB_NAME', 'YOURDBNAME');     // The name of the database
    define('DB_USER', 'YOURUSERNAME');     // Your MySQL username
    define('DB_PASSWORD', 'YOURPASSWORD'); // ...and password
    define('DB_HOST', 'localhost');     // 99% chance you won't need to change this value
    
    // Change the prefix if you want to have multiple blogs in a single database.
    $table_prefix  = 'wp_';   // example: 'wp_' or 'b2' or 'mylogin_'
    
    // Use UTF8 for some plugins
    define('DB_CHARSET', 'utf8');
    
    // Change this to localize WordPress.  A corresponding MO file for the
    // chosen language must be installed to wp-includes/languages.
    // For example, install de.mo to wp-includes/languages and set WPLANG to 'de'
    // to enable German language support.
    define ('WPLANG', '');
    
    /* Stop editing */
    
    define('ABSPATH', dirname(__FILE__).'/');
    require_once(ABSPATH.'wp-settings.php');
    ?>

    After doing that, you should be able to finish the install.

    [signature moderated Please read the Forum Rules]

Viewing 1 replies (of 1 total)
  • The topic ‘No config File’ is closed to new replies.