WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Installation file wont run! (10 posts)

  1. Joseph Jacobs
    Member
    Posted 9 years ago #

    I've installed Apache, PHP & MySQL on my home pc. I uploaded all the files to the server root and edited the config file then renamed it. But when I run the installation file, everything, includin the code itself, appears on the screen with all the installation pages (1,2,3)

    This is what I see when I run the install.php:

    `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."); require_once('../wp-config.php'); require_once('./upgrade-functions.php'); $guessurl = str_replace('/wp-admin/install.php?step=2', '', 'http://' . $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']) ); if (isset($_GET['step'])) $step = $_GET['step']; else $step = 0; ?>
    WordPress
    hide_errors(); $installed = $wpdb->get_results("SELECT * FROM $wpdb->users"); if ($installed) die(__('
    Already Installed

    You appear to have already installed WordPress. To reinstall please clear your old database tables first.
    ')); $wpdb->show_errors(); switch($step) { case 0: ?>

    [Moderated: Please do not post long bits of code in the forums.]

  2. moshu
    Member
    Posted 9 years ago #

    If y ou see all this stuff... probably PHP is not running on your pc.

  3. marjak
    Member
    Posted 9 years ago #

    I have the same problem, but are hosted whit a server that
    have MySQL and PHP.

  4. If you see all this stuff... probably PHP is either not running or not configured correctly.

  5. Joseph Jacobs
    Member
    Posted 9 years ago #

    php is workin well, because i am running phpmyadmin, phpbb and other test scripts on the server

  6. Joshua Sigar
    Member
    Posted 9 years ago #

    Does install.php have the opening tag: <?php and its closing tag?

  7. Joseph Jacobs
    Member
    Posted 9 years ago #

    Yes it does.

  8. Mark (podz)
    Support Maven
    Posted 9 years ago #

    You are running install.php through your browser ?

    Has the file definitely been uploaded as an ASCII file and not as a binary file ?

  9. quizzigal
    Member
    Posted 9 years ago #

    I have the exact same problem. According to the specs of my server, The PHP is fine and dandy, version 4.3.4 and My SQL is 4.0.22_Debian-6. please help me!

  10. Are running install.php through your browser ?

    http://codex.wordpress.org/Installing_WordPress#Step_5:_Run_the_Install_Script

    And, has the file been uploaded as ASCII (or "plain text") file and not as a binary file?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.