Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is www.conf?

Tags:

php

nginx

I know what php.ini is for which can be found in /etc/php/7.0/fpm directory

I can't find documentation what www.conf is designed for? It can be found in

/etc/php/7.0/fpm/pool.d
like image 607
I'll-Be-Back Avatar asked Aug 20 '16 13:08

I'll-Be-Back


People also ask

Where is www conf located?

Above we are on version 7.2, therefore, the www. conf file should be in /etc/php/7.2/fpm/pool. d/www. conf .

Why do we use PHP-FPM?

Q: What is PHP-FPM used for? A: PHP-FPM (FastCGI Process Manager) is a web tool used to speed up the performance of a website. It is much faster than traditional CGI based methods and has the ability to handle tremendous loads simultaneously.

Where is PHP-FPM located?

For example, on CentOS 8, with a single version, all PHP configuration files are located in the /etc directory and the default PHP-FPM pool (www) configuration file is /etc/php-fpm. d/www. conf: To list all PHP configuration files, use the following ls command.

How does PHP-FPM work?

As PHP-FPM receives a proxied connection, a free PHP-FPM worker accepts the web server's request. PHP-FPM then compiles and executes the PHP script, sending the output back to the web server. Once a PHP-FPM worker finishes handling a request, the system releases the worker and waits for new requests.


1 Answers

Pool Directives are a PHP-FPM convention where multiple "pools" of child processes can be started and have different configurations. The default name for the pool directives file is www.conf.

Take a look at this link for more information and sample configurations.

like image 113
M Sost Avatar answered Dec 26 '22 09:12

M Sost