| 71 | There are many setups options here, there are advantages and disadvantages between all of them. So choose most suitable for your situation. PHP is a part of webserver and it is difficult to describe PHP without webserver or related to different webservers, so Apache is considered as webserver in this section. Most common setups are described, there maybe more complex setups available. |
| 72 | |
| 73 | === mod_php (dso module) === |
| 74 | |
| 75 | PHP is working as module for webserver. |
| 76 | |
| 77 | === CGI/suPHP === |
| 78 | |
| 79 | PHP is working in CGI mode (suPHP is the same CGI with exception that php script is running under particular user). |
| 80 | |
| 81 | === FastCGI === |
| 82 | |
| 83 | PHP is working as separate server/process. |
| 84 | |