runeveryday Posted March 20, 2010 Share Posted March 20, 2010 what is PHP installed as CGI ?and what is PHP installed as apache module ?what is the difference between them.any tips would be appreciated. Quote Link to comment https://forums.phpfreaks.com/topic/195906-php-installed-as-cgi-not-as-apache-module/ Share on other sites More sharing options...
trq Posted March 20, 2010 Share Posted March 20, 2010 In simple terms: An Apache module means that php is built into Apache itself and is handled as part of the request. CGI processors are separate from Apache. A request made to Apache for a file ending in *.php would be passed to the php interpreter and executed, its output then returned to Apache. In short, a module is allot faster, but as cgi you have the flexibility of being able to make configuration changes without the need to restart the web server. Quote Link to comment https://forums.phpfreaks.com/topic/195906-php-installed-as-cgi-not-as-apache-module/#findComment-1029059 Share on other sites More sharing options...
runeveryday Posted March 20, 2010 Author Share Posted March 20, 2010 is there a simple way to make the decision that my PHP is installed as apache module or CGI, if i use the integrated environment,eg:XAMP. which style is PHP installed ?thank you Quote Link to comment https://forums.phpfreaks.com/topic/195906-php-installed-as-cgi-not-as-apache-module/#findComment-1029063 Share on other sites More sharing options...
trq Posted March 20, 2010 Share Posted March 20, 2010 Ive never used xampp or any other bundle. Quote Link to comment https://forums.phpfreaks.com/topic/195906-php-installed-as-cgi-not-as-apache-module/#findComment-1029321 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.