Share your knowledge at the LQ Wiki.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 05-17-2004, 03:04 PM   #1
Registered: Feb 2002
Location: Canada
Distribution: Fedora/RHEL
Posts: 152

Rep: Reputation: 31
php running as CGI

what's the difference between php scripts running as CGI or module? what are the advantages, my host told me it's more secure running as CGI.

just curious

Old 05-25-2004, 08:26 AM   #2
Registered: May 2004
Location: Montreal,QC,Canada
Distribution: Fedora Core 7
Posts: 210

Rep: Reputation: 30
From what I know is:
As CGI the interpretter is PHP and it is runned outside of http shell

as a http module:
the interpretter runs inside a http process and is managed by the http process.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
php apache or php cgi - php learner rblampain Linux - Security 3 12-17-2004 11:10 PM
php as cgi nakkaya Linux - Software 3 03-18-2003 02:42 AM
Running CGI version of PHP Agento- Linux - General 4 02-18-2003 06:39 PM
php cgi jayakrishnan Linux - General 1 11-27-2002 09:43 AM
PHP/CGI help ugenn Programming 2 08-23-2002 02:12 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:46 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration