Ready to get started?Download WordPress


http://localhost prompts to download localhost (4 posts)

  1. geoffreyweglarz
    Posted 1 year ago #

    I have WAMP installed, and whenever I go to http;//localhost or [] I get a message in IE and also in Firefox asking if I want to download localhost ot in the case of,

    [localhost] works fine.

    When I check netstat -a -n -o, the results are 0:0:0:0:80 using PID 6732. Task manager shows PID 6732 as WampApache.

    I just used BackupBuddy to restore a WordPress site form a server to my local machine.

    Here is the contents of localhost when I download/open it:

    * Front to the WordPress application. This file doesn't do anything, but loads
    * wp-blog-header.php which does and tells WordPress to load the theme.
    * @package WordPress

    * Tells WordPress to load the WordPress theme and output it.
    * @var bool
    define('WP_USE_THEMES', true);

    /** Loads the WordPress Environment and Template */

    Any ideas?

  2. fonglh
    Posted 1 year ago #

    PHP isn't running.

  3. geoffreyweglarz
    Posted 1 year ago #

    But I can get to http:\\localhost\phpmyadmin and it loads. WAMP is green.

    I've searched where to put importbuddy.php to migrate with WAMP, but found nothing.

  4. fonglh
    Posted 1 year ago #

    Try putting a test php page in your webroot folder which just calls phpinfo() and see if that works.

    If PHP is running you shouldn't be asked to download index.php

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.