Php5 + php-frm + libevent + memcached why can this environment be parsed. php does not have apache or nginx, and the php file depends on what runs in the browser .... is it php-fpm? ------ Solution -------------------- what system? How do you know? Php-fpm seems to be a process management ------ solution ------------ php5 + php-frm + libevent + memcached why this environment can parse. php
Without apache or nginx, what is the php file running in a browser? is it php-fpm?
------ Solution --------------------
What system? How do you know? Php-fpm seems to be a process management.
------ Solution --------------------
What is the situation? No webserver?
Discussion
Without apache or nginx, what is the php file running in a browser? is it php-fpm?
------ Solution --------------------
Php-fpm can act as webservice, which has never been tested... however, LZ can check based on the port on the server. for example, check netstat-anp to determine which program listens to port 80, and then determine.
------ Solution --------------------
If the site is on port 80
Netstat-anp | grep 80
The result may be similar to the following:
Tcp 0 0 127.0.0.1: 80 0.0.0.0: * LISTEN 4213/nginx: worker
In the last column, port 80 is running nginx, and so on.
------ Solution --------------------
Php-fpm is actually listening. if you know nginx, you will know that it calls the fast-cgi internal setting, it is equivalent to getting the content of a dedicated webserver through a proxy, only some parameters need to be passed according to cgi specifications. php-cgi itself has this function.