WordPress.org

Ready to get started?Download WordPress

Forums

Browser Downloads wp-config file rather than directing to it (2 posts)

  1. trtksu
    Member
    Posted 1 year ago #

    I just loaded WordPress to a directory on my server, and when I visit DOMAIN.com/wp-config.php or any other file for that matter, the browser automatically downloads the file rather than loading it.

    I'm sure this is a simple fix, but I'm not advanced enough to know what it is. Thanks so much for your help.

  2. That's a problem with the web host, or your own server, if you are the admin.

    Enable php in httpd.conf or try

    AddType application/x-httpd-php5 .php

    in .htaccess.

Topic Closed

This topic has been closed to new replies.

About this Topic