• Resolved hazardcell

    (@hazardcell)


    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’, ”, ‘https://’ . $_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.]

Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Installation file wont run!’ is closed to new replies.