faqts : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

16 of 17 people (94%) answered Yes
Recently 9 of 10 people (90%) answered Yes

Entry

what the difference behind the implement mechanism between the common CGI and php_based application?

Feb 22nd, 2008 03:25
dman, urge overkill, Zhengyu Li, http://www.ttnr.org


The major difference in the way CGI and PHP are executed is that for 
every request , CGI creates new process, while PHP just creates a new 
thred.Hence php is processed faster than CGI.
Also, php has its own syntax(language syntax) while CGI is a 
technology,it can be implemented using perl, C++ etc.
does it give any idea?? :-)