• Hello,

    I cannot install WordPress. When I click on “wp-admin/install.php” I get an error message:

    “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’); $schema = ( isset($_SERVER[‘HTTPS’]) && strtolower($_SERVER[‘HTTPS’]) == ‘on’ ) ? ‘https://’ : ‘https://’; $guessurl = str_replace(‘/wp-admin/install.php?step=2’, ”, $schema . $_SERVER[‘HTTP_HOST’] . dirname($_SERVER[‘PHP_SELF’]) ); if (isset($_GET[‘step’])) $step = $_GET[‘step’]; else $step = 0; header( ‘Content-Type: text/html; charset=utf-8’ ); ?>”

    I have already created a wp-config.php file. Why does this happen?

    Thank you,

    Norman Tang

Viewing 4 replies - 16 through 19 (of 19 total)
  • Ok.. I went back to the original below Happy blogging..
    uploaded..
    ran the install.php
    Same problem!
    ( p.s. I do have a support ticket into IPower)

    if that’s the case then you could try


    define('ABSPATH', '/var/www/vhosts/ebooktalk.net/httpdocs/');
    require_once('/var/www/vhosts/ebooktalk.net/httpdocs/wp-settings.php');

    As the lsdt two things in your file… what you had before would not have worked anyway.
    This assumes that your blog is at the root of your site.

    Fixed it.. the php was not turned on for this particular domain name.. it was newly added to the server.
    Thanks for the help.

    Thought so… I assume that you have left the last two lines untouched?

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘Cannot install WordPress’ is closed to new replies.