Why does php5 + php-frm + libevent + memcached parse. php?

Source: Internet
Author: User
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 ?, What system? How do you know? Php-fpm seems to be a process management. what is the situation? There is no php5 + php-frm + libevent + memcached. Why can this environment 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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.