Support » Installing WordPress » localhost on XP?

  • I have successfully set up WordPress before on my real Web site (hosted on a Linux server) and had no particular problems. But now I’m trying to set up a local installation on a Windows XP box so I can do some experimentation.
    I’ve got Apache and PHP and MySQL installed and running fine, and all are accessible on localhost. But no luck with WordPress. First, the install script gives me an Undefined index: step error right at the beginning, but then it seems to complete with no problem. The database gets configured fine.
    But things fall apart when I get to the login page. I get Undefined variable: _wp_installing in c:/localsite/b2/wp-settings.php on line 7 followed by the login prompt; after I try to log in I get the same error again, followed by a whole page full of errors like Warning: Cannot modify header information - headers already sent by (output started at c:/localsite/b2/wp-settings.php:7) in c:/localsite/b2/b2login.php on line 125 (with different line numbers, of course). I’ve removed a few blank lines from the ends of a few of the files, but this made no difference.
    Are there any special gotchas involved in setting WordPress up to run on XP? Why am I getting these “undefined index” and “undefined variable” errors? Like I said, I’ve set this up before on my server space and didn’t have any problems, but I may have something configured wrong with Apache or MySQL or PHP on my local machine that’s preventing something from resolving. Any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Have WP installed locally on XP machine with Apache, mySQL, PHP.
    No problems faced… 😐

    If you set your error level to E_ERROR or 0 in your php.ini file, this should all go away. The warning that is being output to the screen is the domino causing the rest of the errors.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘localhost on XP?’ is closed to new replies.