Jump to content

CGI or Server Side Includes


lmandaleeka

Recommended Posts

I am just exploring technologies, one question I had was, is PHP run as a ssi - within the process space of the webserver or is it run as CGI?
If I can do both, then is there any support in PHP for Fast CGI?
I read that session management is done by writing to secondary storage like /tmp of disks or databases, if I were to chose the Fast CGI option is there any in memory session management capability available?

Link to comment
Share on other sites

What are the reasons that PHP shouldnt be used in CGI mode?
One is apparently the typical reasons of CGI having a lot of process over head due to process start and stop. Cant this be mitigated with fast cgi? Can we use PHP in fast cgi mode?
If I were to use JVM based servlets or JSPs versus PHP, isnt it more efficient considering that PHP is interpreter based?
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.