?
Solved

cgi vs fast cgi

Posted on 2011-05-06
5
Medium Priority
?
442 Views
Last Modified: 2013-12-13
In windows server 2008 how to tell if I am running cgi vs fast cgi
0
Comment
Question by:rgb192
  • 3
  • 2
5 Comments
 
LVL 6

Accepted Solution

by:
austinstace earned 2000 total points
ID: 35711017
create a phpinfo.php file with:
<?php phpinfo(); ?>
inside. Put a copy in your document root.

Request the phpinfo.php file in a browser.
Check the output on the php info page for _SERVER["REQUEST_URI"].

If this variable is missing, then CGI is used. If the variable is present and correctly set to /phpinfo.php/foobar?foo=bar, the either ISAPI or FastCGI is being used.

Look near the top of the php info page for Server API. It should say either ISAPI or CGI/FastCGI.

0
 

Author Comment

by:rgb192
ID: 35712205
I understand creating a page with phpinfo()   called phpinfo.php. but what do I type in browser
0
 
LVL 6

Expert Comment

by:austinstace
ID: 35712319
Put the phpinfo.php file in C:\inetpub\wwwroot\
Open a browser to http://localhost/phpinfo.php

0
 

Author Comment

by:rgb192
ID: 35712885
i understand  http://localhost/phpinfo.php

but do i have to use a query string to find 'foobar' , 'fastcgi' ,or _SERVER["REQUEST_URI"].

0
 

Author Closing Comment

by:rgb192
ID: 35740330
thanks
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
This article discusses how to create an extensible mechanism for linked drop downs.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses
Course of the Month14 days, 9 hours left to enroll

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question