WordPress.org

Ready to get started?Download WordPress

Forums

Config file not working (13 posts)

  1. kevinkp7
    Member
    Posted 6 years ago #

    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?

  2. Bodhipaksa
    Member
    Posted 6 years ago #

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

  3. kevinkp7
    Member
    Posted 6 years ago #

    i'm locally hosting it using MAMP

  4. kevinkp7
    Member
    Posted 6 years ago #

    so it's just my local folder

  5. Bodhipaksa
    Member
    Posted 6 years ago #

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

  6. Samuel Wood (Otto)
    Tech Ninja
    Posted 6 years ago #

    And the page had php all over it

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

  7. kevinkp7
    Member
    Posted 6 years ago #

    i'm not sure what that means

  8. kevinkp7
    Member
    Posted 6 years ago #

    my server is running PHP 5 - and my friend is running wordpress with PHP 5...?

  9. kevinkp7
    Member
    Posted 6 years ago #

    his works and mine's not

  10. yeleek
    Member
    Posted 6 years ago #

    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

  11. Samuel Wood (Otto)
    Tech Ninja
    Posted 6 years ago #

    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.

  12. yeleek
    Member
    Posted 6 years ago #

    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?

  13. Samuel Wood (Otto)
    Tech Ninja
    Posted 6 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic