Support » Installing WordPress » Config.php

  • Anonymous

    I am having alot of trouble trying to install this program. Everytime I got to the wp-install.php i am given this message:
    “There doesn’t seem to be a wp-config.php file. Double check that you updated wp-config.sample.php with the proper database connection information and renamed it to wp-config.php.”
    I have edited the wp-config.sample.php file to add my db info and then I renamed it to wp-config.php but it still doesn’t work.
    The config file is located in in
    my install file is located in and I cannot see a reason for why it will not work.
    Any help would be very useful. I am a novice at this and its starting to get very frustrating when nothing works. I have already installed 3 other programs (Pmachine, B2, B2evo) and all of them have had some sort of problem that will not make them run so this is my last option before I get sick of trying to make it work.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Anonymous

    I forgot to add that I am using PHP4.3.2 and MySQL 3.23.49 (i think, not sure) and I am using wp72gold



    You have a wp-config.sample.php in your WP folder in the directory of the site. Are you using an FTP or going through the file manager in a control panel?
    If you are using an FTP, upload a fresh copy, edit it in the directory. Save it. Then, rename it. I think you may not be saving it or editing may revert if you don’t do all the steps.
    I do everything with FTP, otherwise you will get problems like you are experiencing. One thing about cpanel is that it will hold things indefinitely, even though it’s been changed or deleted.
    Are you using FTP or going through the control panel?


    My host doesn’t have FTP access just yet so I use a control panel.
    I deleted the wp-config.php files then on my computer I re-named the wp-config.sample.php to wp-config.php then uploaded it and it still didn’t work.



    You have a host without FTP access? Wow. I’m a host, so that’s a little unusual, we offer FTP access with all our hosting accounts.
    All I can say is that it may have something to do with the way you are uploading it. Did you check to see that everything is CHMOded correctly?
    Maybe someone else will jump in here and have another suggestion.


    Its a free host ( Everything should be chmoded correctly as they said that users dont have to worry about chmoding anything cause its done automatically.
    When I go to my wp-config.php file it gives me this error:
    Fatal error: main(): Failed opening required ‘f:\area\\~\myusername\wordpress/wp-config-extra.php’ (include_path=’.;c:\php4\pear’) in f:\area\\~\myusername\wordpress\wp-config.php on line 95
    but there is no line 95. I checked the file and it only has 53 lines. I’m not sure if that matters and i really dont know what that error means.


    that error message didn’t come out right for some reason. where it has things like \~\ it should be a slash /



    Let us make sure you are using the right information.
    1) did you replace ~username with your own username?
    2) Dont go to wp-admin.php, that just contains the db setup information, go to …/wp-admin/wp-install.php
    If you got the above error, you must be doing those things right, just changing your username for privacy purposes. Line 95 is probably referring to line 95 in wp-install.php where the SQL commands start setting up the Mysql database. Before we start looking into the database, lets get out basics looked at. While you are at it, make sure your Mysql database permissions are set right.



    Additionally, I’ve found that deleting any existing WP tables in the db when doing a new install saves a lot of headaches. (Assuming you’ve backed up existing data, etc.)

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Config.php’ is closed to new replies.