WordPress.org

Support

Support » Localhost Installs » Editng wp-config.php

Editng wp-config.php

  • Hi,

    I’ve found the wp-config.php file to enter my database info but when refreshing the page the file contents shows up on the wordpress installation page as they are written.

    <?php
    
    /** The name of the database for WordPress */
    define('DB_NAME', 'redacted'); 
    
    /** MySQL database username */
    define('DB_USER', 'also redacted'); 
    
    /** MySQL database password */
    define('DB_PASSWORD', 'redacted too'); 
    
    /** MySQL hostname */
    define('DB_HOST', 'localhost'); 
    
    ?>

    thanks

    Mark

Viewing 1 replies (of 1 total)
  • Moderator Jan Dembowski

    @jdembowski

    Brute Squad and Volunteer Moderator

    Sorry, but can you describe the problem you’re having? Is it that the changes are not taking or working or that you can browse to that file and display the contents?

    Also please don’t post actual DB_USER and DB_PASSWORD information. It’s not a safe thing to do.

Viewing 1 replies (of 1 total)
  • The topic ‘Editng wp-config.php’ is closed to new replies.
Skip to toolbar