How to get the current running mode of php?
为情所困
为情所困 2017-07-03 11:40:17
0
1
758

There are five common SAPI modes:

CLI和CGI模式(单进程模式)
多进程模式
多线程模式
FastCGI模式
嵌入式

请问,我如何知道当前我的php在哪种模式下运行?
为情所困
为情所困

reply all(1)
世界只因有你

php_sapi_name

Returns the lowercase string of the interface type.

Although not comprehensive enough, possible returned values ​​include aolserver, apache, apache2filter, apache2handler, caudium, cgi (until PHP 5.3), cgi-fcgi, cli, cli-server, continuity, embed, fpm-fcgi, isapi, litespeed, milter, nsapi, phttpd, pi3web, roxen, thttpd, tux and webjames.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template