Link to home
Start Free TrialLog in
Avatar of grhelm
grhelm

asked on

What version of ASP and PHP am I running on my windows2000 server?

How do I determine what version of ASP and PHP I am running on my windows2000 server? IIS is version 5.0.2195.6620, if that helps...

Thanks!
Avatar of haricv
haricv

Hi
to know the version of php, please do the following steps

1) Make a file namely test.php in document folder of IIS (ie in C:\Wwwroot\www) and write the following code in it
    <?
     phpinfo();
   ?>
2) Open Internet explorer and browse the following address
   http://localhost/test.php
  you will see the version of Php in the above page

To know the version of ASP,  Use Find to find the location of the asp.dll. Click on it and press Alt-Enter. The version will appear in the property box.

Thanks
hari
Avatar of grhelm

ASKER

Thanks, but I must be doing something wrong.

I did not find a "www" folder, but did find C:\Inetpub\wwwroot.  I also did not find a "document" folder in this directory.

I also don't think "localhost" maps to this wwwroot folder since IE will not open C:\Inetpub\wwwroot\default.htm if I enter http://localhost/default.htm into the browser address.

What am I doing wrong?

I was able to get the version number of ASP figured out!

Thanks.
If you open up IIS and go to the properties of your site.
Under the document tab it should have a default directory and that should be where you need to put the test.php folder
ok,
please goto Internet Information Services (Start->Settings->Control Panel->Administrative Tools->Internet Information Services

In that settings window, please open your Default website in left treview. Please confirm that it is running. And please see the "Home Directory" tab and you will see the Localpath of your website. This is where you need to copy your test.php file

If you are still not getting http://localhost/test.php even if you copied to the above folder, there must have 2 reasopns.
1) You have running another webserver application. In this case, you need to sutdown that server first. Or you need to change IIS port to 81 or etc (not 80) point url to http://localhost:81/test.php
2) IIS is not running. Please start using start button on toolbar

Hope this helps.
Hari
Avatar of grhelm

ASKER

All it does is display the "code" on the browser screen:

 <?
   phpinfo();
 ?>
Avatar of Deepak Vasudevan
I think in that case PHP may not be configured on your server.
ASKER CERTIFIED SOLUTION
Avatar of haricv
haricv

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial