RE: php vs. cgi app

From: Date: Thu, 15 Jul 2004 06:42:37 +0000
Subject: RE: php vs. cgi app
Groups: php.general 
Request: Send a blank email to php-general+get-190572@lists.php.net to get a copy of this message
Bruce, you need to start new threads when you ask a new question... a lot of people don't bother to check out a thread that's already got responses, and it really makes more logical sense to start a new one anyway (original post is below my response)... When you say cgi vs. php, I'm going to assume you mean cgi versus apache module (correct me if I misunderstand). To be honest I don't know enough about the internals of the apache module to tell you why it's better for an apache server (would love it if someone could explain!). What I do know I've gathered from PHP's site... check these out: http://www.php.net/install.commandline http://us3.php.net/manual/en/security.cgi-bin.php Jason [original post] hi.. a really general/basic question... what is the difference between a "cgi" app and a php app.. does it really come down to where the app is being run from.. i mean within apache, if i specify that php/perl/etc... app resides at a given location, and that files with a certain extension are to be handled by the perl/php/etc app, then i can handle the processing of the file by the interpreter anywhere within my site that i grant access to. is there anything/any reason to have a "cgi-bin" portion of my app, other than good design practice... clarification would be useful!!! thanks.. -bruce

« previous php.general (#190572) next »