Can someone please help me? I seem to have installed mysql sucessfully, but whenever I try to test a php page (just a simple phpinfo(); ), i get "Page cannot be displayed" (HTTP 500) error.

I have gone through my book "PHP and MySQL" as well as a pdf file "php_manual_en" to try to figure out where I may have gone wrong in my installation, but nothing seems to help.

Has anyone else come across this problem? Can someone please help?!

And I'm pretty new to this, so please be patient. Thank you!! 🙂

    copy php4ts.dll to your winnt/system32 directory

      I had the files in the right place, but now I'm getting "You are not authorized to view this page" error mgs so I need to set the authorization, but I don't know how to do that! 🙁

      According to a manual, I have to make sure the following is true:
      1) That the directory has Script & Execute permission in IIS' admin
      2) ISUSER_<machinename> has Read and Execute permissions
      3) the Everybody group has execute(but not write) permissions in the file system (Windows Explorer)

      I have tried going to the internet service manager, default web site, properties, security, but then I get lost. andI'm not sure I'm in the right place. can someone please walk me through this? I think I'm really close!!

        I had the same problem all I did was go to the openSA project and downloaded there installer.

          Thanks for the info, but as this is not my personal computer, I need to get the PHP working through IIS, and not an Apache web server.

          So if anyone can walk me through the security thing, I'd really appreciate it!! 🙂

            yo.. do this...

            goto:
            C:\Inetpub\wwwroot

            take out 3 files:
            global.asa
            iisstart.asp
            localstart.asp

            goto:
            C:\WINNT\IIS Temporary Compressed Files

            -clear any files in this directory.. try your page again...should work..

            no authorization setting is required.. :p

              hi mark,

              well, I tried your suggestion, but it didn't work. I even rebooted my machine a couple of times to see, but well... 🙁

              I have noticed that I don't have access rights to ANY of the directories I have listed under my IIS Admin. I'm guessing this isn't some coincidence, and so I even tried going to the MS site to see how to set access rights in IIS 5.0, but anonymous access is enabled, no password is required, and it still doesn't work!

              am I cursed? will this bloody thing never work? 🙁

                yes, iis did this to me, everytime i reinstalled it, just do what i said, a few times, make sure you remove those 3 files, from the wwwroot folder, and place them in the C:\Inetpub folder (dont think it matters where you put them, but just incase 😉)

                and after i did this a couple times, it came around. :rolleyes:

                oh, and you do have the lastest update from microsoft right? Service Pack 3, right?

                  Okay, I will keep trying, 🙂 but if you could clear up one thing for me...

                  What do you mean by

                  just do what i said, a few times,

                  ? Do you mean I should reinstall IIS a few times? Because once I removed the file from the wwwroot folder they aren't there anymore, so I'm a bit confused.

                  Please excuse my thick-skulledness (and my made-up words) :p

                  and service pack 3? I have no idea what you're talking about, but I will try to check for that asap! thanks again!

                    excuse my brieftness :p lol, what i meant was, after you try the pages of your site, and if they still dont work, go back over my instructions and make sure you did it all (lol, i know, i know) they arnt the most complicated instructions.

                    and no, dont uninstall iis, but do get that service pack

                      ah! okay, thanks for your patience, and I found the service pack and am installing it now! 🙂

                      and trust me, at this point i'm double and triple checking everything i've done out of desperation. this is just unbelieveable! :eek:

                        Write a Reply...