Home  >  Article  >  Backend Development  >  What are the running modes of php?

What are the running modes of php?

(*-*)浩
(*-*)浩Original
2019-10-08 11:36:184239browse

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)

What are the running modes of php?

##2) FastCGI (Resident CGI / Long-Live CGI)

What are the running modes of php?

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 role

What are the running modes of php?

5) ISAPI (Internet Server Application Program Interface)

Unique to IIS:

What are the running modes of php?

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn