• Hey there, i just uploaded all the documents to my web server and change the database info in wp-config, but when i try to run install.php, i get the follwing 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’]) );

Viewing 7 replies - 1 through 7 (of 7 total)
  • Well, if you see ALL that stuff quoted above… PHP is not runnign on that server! Check with your host.

    Thread Starter feliksm

    (@feliksm)

    well it says that the config file doesn’t exist when it is in there.

    I am afraid you do NOT read carefully!
    If you can see this in your browser:
    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']) );

    it means PHP is not running on that server.

    Ya, he’s right. I had the same error this morning and after I installed PHP, it stopped complaining. Actually I had it installed, I just needed to reboot the server.

    Thread Starter feliksm

    (@feliksm)

    im using cpanel, it’s not a dedicated server, so i dont really have an option as far as rebooting, how do in go about installing it?

    You don’t. You contact your host.

    I had the same problem. I went into my website’s control panel, via the hosting company’s interface, and had to manually turn on PHP, PERL, and CGI services. I use Interland (Web.com) so it was easy. Depending on what provider you are using, it may be different.

    I also needed to manually set index.php as a “default” page, so that when Word Press installation tried to go to a directory, you wouldn’t get the “directory browsing not allowed” error message.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Not able to execute install.php’ is closed to new replies.