Forums

WindowsXP-There doesn't seem to be a wp-config.php file. (14 posts)

  1. pant_deepak
    Member
    Posted 5 years ago #

    I am getting following error when I try to access the install.php using following URL:

    http://localhost/wordpress/wp-admin/install.php

    There doesn't seem to be a wp-config.php file. I need this before we can get started. Need more help? We got it. You can create a wp-config.php file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file.

    If I try to create it using the web interface my browser is re-driected to following URL and I get following error on the browser:

    URL: http://localhost/wordpress/wp-admin/setup-config.php

    Error Message
    Sorry, I need a wp-config-sample.php file to work from. Please re-upload this file from your WordPress installation.

    I am using following softwares on Windows XP SP2
    Apache 2.2, PHP5.2, WordPress2.0.3, MySQL 5.0

    I have checked almost all the threads and was not able to solve this issue. Hence I am posting this once again.

  2. ladydelaluna
    Member
    Posted 5 years ago #

    "URL: localhost/wordpress/wp-admin/setup-config.php"

    it should be "wp-config.php" not "setup-config.php"

  3. pant_deepak
    Member
    Posted 5 years ago #

    I am not sure what are you trying to suggest. See I clicked on "create a wp-config.php file through a web interface," link that is part of the error message that comes up when I try to go to localhost/wordpress/wp-admin/install.php.

    Thanks

  4. whooami
    Member
    Posted 5 years ago #

    "You can create a wp-config.php file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file."

    if this is your box, why not simply edit the file in wordpad?

    Browse to the directory, right click on wp-config-sample.php, scroll down to open with, choose wordpad, edit it, close/save it, rename the file to wp-config.php and be done.

  5. pant_deepak
    Member
    Posted 5 years ago #

    Thats the whole issue.

    My Apache is installed in following location:
    D:\Program Files\Apache Software Foundation\Apache2.2

    So I copied the wordpress folder to \htdocs folder.

    I renamed the existing sample file to wp-config.php. But for some reasons the install.php doesnot recognize it.

    And this is why I was trying the web browser based create option.

    Do you know if there is any specific option that needs to be changed in httpd.conf or php.ini for permissions etc.

  6. pant_deepak
    Member
    Posted 5 years ago #

    Is there anyone out there who has faced similar issue ?

  7. chachacallis
    Member
    Posted 5 years ago #

    i am facing the same problem also and this is the second time i am using WordPress so i have fallowed the instruction correctly.

  8. ladydelaluna
    Member
    Posted 5 years ago #

    "I renamed the existing sample file to wp-config.php. But for some reasons the install.php doesnot recognize it."

    You just renamed it?
    You have to EDIT it, and include your information...

    Are you trying to host this on your own computer? http://www.tamba2.org.uk/wordpress/xampp/ - check out Podz's tutorial...

    If you're not, then your hosting company should give you this information once you set up the database that you need for the file.

  9. ladydelaluna
    Member
    Posted 5 years ago #

    chachacallis - are you hosting this on your computer, or are you with a hosting company?

  10. chachacallis
    Member
    Posted 5 years ago #

    well i am host with a company, i am trying to install in a subdomain of my main website i already have a previous version wordpress blog on another subdomain which works fine.

  11. pant_deepak
    Member
    Posted 5 years ago #

    ladydelaluna-
    Apache, PHP, and MySQL integration is working fine as I tried with a sample PHP page.

    WordPress doesnot work.

  12. pant_deepak
    Member
    Posted 5 years ago #

    if I change following two changes to install.php in first two lines of install.php then things move forward and I see the first page in wordpress installation.

    (a) '../wp-config.php' to 'd:\opensource\wordpress\wp-config.php'
    (b) './upgrade-functions.php' to 'upgrade-functions.php'

    But after entering blog title and email address, I get "ERROR: please type your e-mail address" error.

    So I see two things here:

    1. Is there any path related setting that one has to do in httpd.conf or php.ini to handle the path issue?

    2. Is there any email related switch that one can turn off to move forward and make some progress?

  13. organic
    Member
    Posted 5 years ago #

    I had the same problem and realised it was due to the way I renamed the wordpress folder and/or the wp-config.php. I did this using Dreamweaver and when it asked if I would like to update links I said yes, which I think was the problem.

    To resolve this problem I removed all the files from my server and started the install process again. After unzipping the wordpress file I renamed the wordpress folder to blog outside of Dreamweaver. I then edited the wp-config-sample.php file using Notepad and then selected File/Save As to save it as wp-config.php (not forgetting to save it as .php).

    I then uploaded the files to my server (using Dreamweaver)and it all works.

  14. sdenby
    Member
    Posted 5 years ago #

    I also am having this problem. So far I can see no solution posted. I have installed this on another server and it worked fine but now I am on an Apache server and I am getting this error.

Topic Closed

This topic has been closed to new replies.

About this Topic