Forums

Editng wp-config.php (2 posts)

  1. mmarkym
    Member
    Posted 5 months 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.

Reply

You must log in to post.

About this Topic

Tags

No tags yet.