WordPress.org

Support

Support » Installation » Config file not working

Config file not working

  • kevinkp7
    Member

    @kevinkp7

    I unzipped wordpress
    I changed the config file to the right info
    I saved it as wp-config.php
    I opened up the ReadMe html and hit the link to Open /wp-admin/install.php in your browser

    And the page had php all over it – it just looked messed up this is what is said at the top of the page:

    ————-
    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.”, “WordPress › Error”); } require_once(‘../wp-config.php’); require_once(‘./includes/upgrade.php’); if (isset($_GET[‘step’])) $step = $_GET[‘step’]; else $step = 0; header( ‘Content-Type: text/html; charset=utf-8’ ); ?> >
    ————-

    can anyone help me out?

Viewing 12 replies - 1 through 12 (of 12 total)
  • Bodhipaksa
    Member

    @haecceity

    Did you upload your newly-named wp-config.php file to the server by ftp?

    kevinkp7
    Member

    @kevinkp7

    i’m locally hosting it using MAMP

    kevinkp7
    Member

    @kevinkp7

    so it’s just my local folder

    Bodhipaksa
    Member

    @haecceity

    Sorry, outside my area of competence (such as it is).

    Samuel Wood (Otto)
    WordPress.org Tech Dude

    @otto42

    And the page had php all over it

    My guess is that your server is not configured to run the PHP.

    kevinkp7
    Member

    @kevinkp7

    i’m not sure what that means

    kevinkp7
    Member

    @kevinkp7

    my server is running PHP 5 – and my friend is running wordpress with PHP 5…?

    kevinkp7
    Member

    @kevinkp7

    his works and mine’s not

    yeleek
    Member

    @yeleek

    Otto42 – Mamp is like Xampp.

    Not sure how much Mac support you’ll get here but confirm for us the path you are using? Does it allow for port as per these instructions? http://michaeldoig.net/4/installing-mamp-and-wordpress.htm

    Samuel Wood (Otto)
    WordPress.org Tech Dude

    @otto42

    yeleek: That’s all well and good, but if he’s getting PHP code output to the browser, then it’s still configured incorrectly. Doesn’t matter what it’s “like”.

    Apache is Apache, even when you stick it inside another package.

    yeleek
    Member

    @yeleek

    The point is Mamp blatantly supports wordpress as the link i pointed to and indeed codex shows. Stating that ‘My guess is that your server is not configured to run the PHP’ doesn’t give a newbie much help does it?

    Samuel Wood (Otto)
    WordPress.org Tech Dude

    @otto42

    Stating that ‘My guess is that your server is not configured to run the PHP’ doesn’t give a newbie much help does it?

    Well, what help do you suggest? All I can do is point out that it’s not a WordPress problem and possibly direct him to the support forums for whatever server he’s running.

    I’ve never heard of “MAMP”. I have no idea what it is. So I offer what information I do have: His server is configured incorrectly. Why? Hell if I know. I’d suggest asking on these “MAMP” support forums why their server is configured incorrectly.

    I thought simply telling him what the problem was would be enough. He knows what server he’s running. If he doesn’t know that much, then he shouldn’t be running it. He did say that he’s running it locally, so calling him a “newbie” is unjustified, setting up a server is not a newbie thing to do.

    Either way, these are the WordPress support forums, not the MAMP support forums.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Config file not working’ is closed to new replies.