Trying to learn MySQL/php scripting and running the IIS on my machine...

Hello

I'm am learning how to build database-driven webpages, and trying to install MySQL and php to work out the scripting on my local machine before unleashing it on the web. I know that I have to have a server running on my system in order for the other apps to work, so I started with determing how much, if any of the three components to make it work, I already had installed. Turns out that in WinXP Pro, IIS 5.1 is available, so I went into add/remove programs via my control panel (in classic view) and went to the side bar and hit the 'add/remove components' to find the IIS and then went into the 'details' option, which brought up the subcomponents and ticked all the boxes, including the one for FrontPage Extensions, even though I don't have a version of FP in my Office Suite.

Anyway, I did all that, and then went into my browser (IE7...yes I know it's bad) and went to the address bar and typed in http://localhost to hopefully see my new IIS up and running. Instead, I get a http 500 error that reads: The website cannot display the page
HTTP 500
Most likely causes:
The website is under maintenance.
The website has a programming error.

What you can try:
Refresh the page.

Go back to the previous page.

More information

This error (HTTP 500 Internal Server Error) means that the website you are visiting had a server problem which prevented the webpage from displaying.

For more information about HTTP errors, see Help.

I don't know whether this is what happens if you don't already have the MySQL and php installed or if there's something specifically wrong with my IIS.

Please, help, if you're able. I am really looking forward to learning php.

Thanks in advance for any information you can offer me on this:)

~SPDworks

Average rating
(0 votes)
Brashquido's picture

Location: Melbourne, Australia

Joined: Sep 2003

Send PM

Brashquido said:

Sometimes the IIS install process can be a bit lumpy, depending on your system configuration. Haven't installed IIS 5.1 in a while, but can't remember ever getting a 500 error straight after an install. After an fresh install of IIS you should get some form of "under construction" page by default. The fact you don't have PHP or MySQL installed is not a factor at this stage.

First I'd do is create a file called index.htm in your C:\inetpub\wwwroot directory (assuming a default install) and then edit it and place some text in it (anything will do, e.g hello world). This time when you try to access in http://localhost you *should* see the text in your index.htm file displayed on your screen. If so, then IIS is working. If not, then there is another issue. Also, be sure that friendly HTTP errors are turned off in IE advanced settings.

Let me know the results and we can take it from there...
----------------
Dominic Ryan
4 x Microsoft IIS MVP, MCSE, MCSA
IIS Aid owner/webmaster