WordPress.org

Ready to get started?Download WordPress

Forums

Editng wp-config.php (2 posts)

  1. mmarkym
    Member
    Posted 1 year ago #

    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

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.