WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Install.php in IIS6.0 displaying php tags (10 posts)

  1. xixao
    Member
    Posted 5 years ago #

    I am having an issue getting WP installed on my PC. I'm using Vista Ultimate with IIS 6.0, PHP 5.2.8, and MySQL 5.1.

    When I attempt to run install.php, I receive the following:

    >
    WordPress
    '.__('Already Installed').'
    
    '.__('You appear to have already installed WordPress. To reinstall please clear your old database tables first.').'
    ');} switch($step) { case 0: case 1: // in case people are directly linking to this display_header(); ?>
    
    ReadMe documentation at your leisure. Otherwise, just fill in the information below and you\'ll be on your way to using the most extendable and powerful personal publishing platform in the world.'), '../readme.html'); ?>
    
    error) ) wp_die($wpdb->error->get_error_message()); display_header(); // Fill in the data we gathered $weblog_title = stripslashes($_POST['weblog_title']); $admin_email = stripslashes($_POST['admin_email']); $public = (int) $_POST['blog_public']; // check e-mail address if (empty($admin_email)) { // TODO: poka-yoke die('
    
    '.__("ERROR: you must provide an e-mail address.").'
    '); } else if (!is_email($admin_email)) { // TODO: poka-yoke die('
    
    '.__('ERROR: that isn’t a valid e-mail address. E-mail addresses look like: username@example.com').'
    '); } $wpdb->show_errors(); $result = wp_install($weblog_title, 'admin', $admin_email, $public); extract($result, EXTR_SKIP); ?>
    
    	admin
    
    '.__('Note that password carefully! It is a random password that was generated just for you.').''; ?>

    I have updated the config file and ensured database connectivity. Also note that I am able to successfully run 2 large PHP applications I built for my company without any issues whatsoever. That being said, it is not a case of "You don't have PHP installed!" or "PHP isn't configured correctly!"

    I am a professional web developer and administrator of 4 public webservers where I work. I have been through every step I could think of to resolve this. I've seen this issue posted in other places on these forums, but have yet to see a solution.

  2. xixao
    Member
    Posted 5 years ago #

    Anyone?

  3. MichaelH
    Member
    Posted 5 years ago #

    Put the script descirbed at Finding_Server_Info in the WordPress folder and browse to that.

    What happens?

  4. Please be a little more patient :) 30 minutes is not a long time on a forum of volunteers.

    It displays the PHP code so that implies it's not configured right for WordPress. Are the php files for your other apps named .PHP or .PHP5?

  5. xixao
    Member
    Posted 5 years ago #

    Put the script descirbed at Finding_Server_Info in the WordPress folder and browse to that.

    What happens?

    phpinfo() displays perfectly.

    Are the php files for your other apps named .PHP or .PHP5?

    .php

  6. Are the permissions on the phpinfo page the same as the wordpress pages?

  7. StephenNg
    Member
    Posted 5 years ago #

    phpinfo() displays perfectly.

    You mean its output right?

  8. MichaelH
    Member
    Posted 5 years ago #

  9. xixao
    Member
    Posted 5 years ago #

    Are the permissions on the phpinfo page the same as the wordpress pages?

    Identical

    You mean its output right?

    Correct

    Any help here?
    http://blogs.iis.net/bills/archive/2006/09/19/How-to-install-PHP-on-IIS7-_2800_RC1_2900_.aspx

    Thanks for the link, but it is the same page I initially visited when setting up my installation. Unfortunately, no help there... :/

  10. xixao
    Member
    Posted 5 years ago #

    I've discovered the problem. I had initially installed a version of PHP that wasn't properly bundled with MySQL. I reinstalled a new distribution package, which wrote to C:\Program Files\PHP, rather than overriding the previous installation in C:\PHP like I told it to. The Handler Mapping was pointing to the old .dll. Once I pointed it to the correct installation, it worked perfectly :)

Topic Closed

This topic has been closed to new replies.

About this Topic