WordPress.org

Ready to get started?Download WordPress

Forums

Beginner's help with IIS 6, PHP, and MySQL (8 posts)

  1. ber8630
    Member
    Posted 4 years ago #

    I am sorry to ask for help on something as simple as installation, but I have been trying many different things for three days now. Here is the situation.

    I am a volunteer that was asked to help bring a non-profit organization's website back in house after some personnel changes. The IT firm before was relocating and they had outsourced most of the infrastructure. As a result, they transfered the backup files from their hosting service that they were about to close down to me. The site was originally running in a LAMP environment. I am attempting to restore the site as it was before to a 2003 Windows Server, running IIS 6, with MySQL 5.1 and PHP 5.3.1. I have removed and reinstalled MySQL and PHP so many times it is not funny.

    Right now I have messed with it so much that I can't get the MySQL Service to start and I when I run the /wp-admin/install.php link, it acts like it is running, but never goes beyond that. Am I missing something?

    Anyway, I am looking for guidance since I am a more of a SysAdmin than web developer.

    Thanks,
    Blaine

  2. How does MySQL act like it is running? Errors? Does it simply hang? Can you test to see if the MySQL server is runing from the command line?

  3. ber8630
    Member
    Posted 4 years ago #

    I am equally as new to MySQL as WordPress, but I do not see the MySql service running, as I would expect it to be. I don't think I mentioned it before, but I do have copy of the database from the prior server, but I don't think I have successfully restored it either. Well, i know i haven't it haven't found the correct syntax (for CLI) or sysadmin process to restore the database. I have tried finding it on MySql forums last night, but I litterally fell asleep at the keyboard. How is that for an excuse.

    To the first question specifically, I do not get any kind of error when I click on the /wp-admin/install.php link. Originally I was until I reinstalled MySql. It does not seem to hang. The hour glass mouse icon appears for a few seconds and that is it. If you have a command to test MySql, I will gladly do it.

    Thanks for the help.
    Blaine

  4. Try MySQL :: MySQL 5.1 Reference Manual :: 2.5.6 Troubleshooting a MySQL Installation Under Windows to check your logs and see what's happening.

    Also, phpmyadmin is a great utility to adminster databases under mysql, so I'd install that: How to install phpMyAdmin on Windows | ASP.NET MSSQL Webhosting Blog. Phpmyadmin will also tell you if the database server is running, let you add and drop databases, optomize them, import your old database from the old site, etc.

  5. ber8630
    Member
    Posted 4 years ago #

    Before I share what I am getting so far, let me once again say thanks for your guidance. I am truly lost on this one so far. I feel a little inept.

    I am not saying I know, but I am not sure why, but it appears that none of my PHP scripts run. Your documentation has been very helpful. I am beginning to think I have a problem with PHP, that is preventing me from working on the other issues.

    When I map the .PHP extension, I am mapping it to the php-cgi.exe file. Am I wrong?

    Thanks!!
    Blaine

  6. I don't know about the php-cgi.exe file. But you can test to see if php is available to run by making a plain text file, call it phpinfo.php and put just this line in it:

    <?php phpinfo(); ?>

    then put the file in the root of your server, and then go to that file with your web browser. If you see lots of php info, php is running. If you just see the text of the file, php isn't running.

  7. ber8630
    Member
    Posted 4 years ago #

    OK, I created the file as instructed and tried to open it in the browser. It does not run, but instead opens a file download dialogue. I have noticed this on the other files I have tried. It would seem I have made an error in getting PHP going. I see I have three different exe files and about five different DLL files that I am not sure what all should be included in the "allowed extensions" in IIS. Any pointers? Or should I just do trial and error?

    BE

  8. Only thing I can say is to through php install docs again: PHP: Microsoft IIS 5.1 and IIS 6.0 - Manual and How to Install PHP 5 for IIS 6 - wikiHow.

Topic Closed

This topic has been closed to new replies.

About this Topic