1.

What are the various ways to execute PHP with Apache/Nginx? 

Answer»

WEB Servers themselves cannot understand and parse PHP files, the EXTERNAL programs do it for them. There are many ways how you can do this, both with its PROS and cons. Various ways:

  1. Mod_php: means PHP, as an Apache module
  2. FastCGI: a PHP process is launched by Apache, and it is that PHP process that interprets PHP code -- not Apache itself
  3. PHP-FPM: PHP-FPM (FastCGI Process MANAGER) is an ALTERNATIVE PHP FastCGI implementation with some additional features useful for sites of any size, especially busier sites


Discussion

No Comment Found