Home >Backend Development >PHP Problem >What are the running modes of php?
About the five common operating modes of PHP:
1) CGI (Common Gateway Interface) (Recommended learning: PHP video tutorial)
##2) FastCGI (Resident CGI / Long-Live CGI)
3) CLI (Command Line Interface)
4) LoadModule (Apache exclusive ):
In the Apache configuration file httpd.conf, the usually added LoadModule php7_module "D:/.../php71/php7apache2_4.dll" plays this role5) ISAPI (Internet Server Application Program Interface)
Unique to IIS:Note: After PHP5.3, PHP no longer has ISAPI mode, and there is no longer the php5isapi.dll file after installation. To use a higher version of PHP on IIS6, you must install the FastCGI extension and then enable IIS6 to support FastCGI.
The above is the detailed content of What are the running modes of php?. For more information, please follow other related articles on the PHP Chinese website!