Compare operation modes of the PHP-scripts interpreter.

- PHP as Apache module
- PHP as CGI
- PHP as FastCGI

You can set up PHP operation mode for a web-site via Domains – WWW domains- Properties- PHP, if all these modes are allowed for a www-domain owner.

PHP

as Apache module

In this case, apache mod_php of the web server is used for PHP operation.

Benefits:

Drawbacks:

PHP as CGI

In case of PHP as CGI, PHP scripts are run via its transfer to be executed directly to the PHP interpreter.

Benefits:

Drawbacks:

PHP as FastCGI

Apache mod_fastcgi is used. It transfers scripts to the PHP interpreter output.

Benefits:

Drawbacks:

  • Facebook
  • Digg
  • Google Gmail
  • MySpace
  • Yahoo Mail
  • WordPress
  • Reddit
  • Google Reader
  • Yahoo Bookmarks
  • Windows Live Spaces
  • Blogger Post
  • Ask.com MyStuff
  • Mixx
  • StumbleUpon
  • LinkedIn
  • Google Bookmarks
  • AOL Mail
  • Twitter
  • Share/Bookmark
Posted on January 29, 2010