Support » Installing WordPress » Browser Downloads wp-config file rather than directing to it

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

Viewing 1 replies (of 1 total)
  • Moderator Mark Ratledge

    (@songdogtech)

    Forum Moderator

    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.

Viewing 1 replies (of 1 total)
  • The topic ‘Browser Downloads wp-config file rather than directing to it’ is closed to new replies.