Lounge Network - Knowledge Base

  View Printer Friendly Version Search
KNOWLEDGE BASE HOME » 15. INFORMATION: SCRIPT AND PROGRAMMING QUESTIONS Viewing Answer
Difference between running PHP as mod_php vs. CGI as a cgi/phpsuexec.
1) mod_php is run as an Apache module which reduces the amount of overhead in processing each script by not needing to start a new process. In lower traffic situations you should not notice any difference.

2) CGI is generally accepted as being more secure and works around some of the problems associated with using modules such as chmod 777 directories. All CPanel hosting plans will now run under phpsuexec for the added security it offers.

KNOWLEDGE BASE HOME » 15. INFORMATION: SCRIPT AND PROGRAMMING QUESTIONS Viewing Answer




Knowledgebase Manager

© Copyright Lounge Network 2001-2017