1
leootje
Diffrence between xoops on php cgi or Isapi
  • 2005/9/16 7:18

  • leootje

  • Just popping in

  • Posts: 10

  • Since: 2005/8/24


I have a question about the difrence of CGI or isapi

I must choose between CGI or ISAPI where I can run XOOPS on for the intranet site for 600 people.

I have heard that the speed of your website can decrease if you use Isapi.dll.

Is this true

ps what are the diffrence between the 2.

Thanks

2
brash
Re: Diffrence between xoops on php cgi or Isapi
  • 2005/9/16 7:47

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


Incorrect. ISAPI is actually a LOT faster under load as well as being more secure on a Windows IIS server. I would rate your options in this order;

CGI - Slow

ISAPI - Good to very good

FastCGI - Very fast!

In a nutshell (very simplistic overview here) CGI is an executable and is loading into and out of memory for every single request. ISAPI is a DLL and is loaded into memory once and then serves all requests from that one instance which makes it MUCH MUCH MUCH more efficient. FastCGI is also available as a DLL for Windows, but is more efficient than the default PHP ISAPI as it loads as one instance and then starts instances of php.exe as it needs them which saves on the memory loading/uunloading times which is the real killer for straight CGI.

I will be publishing an article at the end of next week (it's half finished now) regarding performance tuning XOOPS on IIS which will explain things for you more clearly. Keep an eye on my site (see sig) or the news items here on Xoops.org.
IT Headquarters
Innovative IT Solutions

3
pegasus00321
Re: Diffrence between xoops on php cgi or Isapi

What is an example of a web server that supports FastCGI?
I've never tried it before.
Pegasus00321


I would appricate it if you click this link
TuFat.com PHP Scripts and etc

4
JMorris
Re: Diffrence between xoops on php cgi or Isapi
  • 2005/9/17 4:39

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


It would be helpful to know what platform you planning to host on.

At http://cit.wvup.edu we're using FastCGI for our CentOS (Linux) web server using Apache.

I know it's not a good comparison since it's a PHP-Nuke :puke: site, but it should give you some idea.

Before anyone gives me any crap about the PHP-Puke site at the college, I didn't do it! Actually, we are planning on migrating to XOOPS over Christmas break. I've been holding out for 2.2.x Stable.

Hope this is helpful.

James
Insanity can be defined as "doing the same thing over and over and expecting different results."

Stupidity is not a crime. Therefore, you are free to go.

5
brash
Re: Diffrence between xoops on php cgi or Isapi
  • 2005/9/17 9:55

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


Quote:

pegasus00321 wrote:
What is an example of a web server that supports FastCGI?
I've never tried it before.


Have a look here;

http://www.fastcgi.com/
IT Headquarters
Innovative IT Solutions

Login

Who's Online

313 user(s) are online (193 user(s) are browsing Support Forums)


Members: 0


Guests: 313


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits