I have xampp installed in c:\xampp. The web-root folder is c:\xampp\htdocs. WordPress is in c:\xampp\htdocs\wordpress and so can be accessed at localhost/wordpress
Might review where and what files you uploaded. See Installing WordPress and the section on “installing on your pc”.
I have the same webroot:
c:\xampp\htdocs
and wordpress installation directory:
c:\xampp\htdocs\wordpress
When I visit localhost/wordpress it always displays phpinfo().
c:\xampp\htdocs\wordpress\index.php file’s contents:
<?php
phpinfo();
?>
Is this correct?
That tells me you don’t have a complete and intact set of files because the wordpress/index.php has this:
<?php
/**
* 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 */
require('./wp-blog-header.php');
?>
Make sure you have all the files (see Download tab at top of this page if necessary)
Problem solved, thanks Michael.
My problem was an incorrect index.php file. When creating a PHP Project in Aptana Studio it was overwriting the wordpress delivered index.php with one I had created because of the way named projects work in my IDE…