Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 396
  • Last Modified:

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!
0
grhelm
Asked:
grhelm
1 Solution
 
haricvCommented:
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
0
 
grhelmAuthor Commented:
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.
0
 
ghunt_03Commented:
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
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
haricvCommented:
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
0
 
grhelmAuthor Commented:
All it does is display the "code" on the browser screen:

 <?
   phpinfo();
 ?>
0
 
deepaknetCommented:
I think in that case PHP may not be configured on your server.
0
 
haricvCommented:
ok,

your IIS has not configoured to work wth PHP

First download and install php from www.php.net
and then install it
http://www.phpbuddy.com/sub_articles.php?other_articles=4
will show how to configure php for IIS

if you need mysql also,  please download mysql for windows from www.mysql.com

Thanks
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now