Bug #81057 [Nab]: PHP-FPM: how to tell apache where is configuration file

From: Date: Thu, 20 May 2021 00:13:37 +0000
Subject: Bug #81057 [Nab]: PHP-FPM: how to tell apache where is configuration file
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-233905@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=81057&edit=1 ID: 81057 User updated by: gilperon at gmail dot com Reported by: gilperon at gmail dot com Summary: PHP-FPM: how to tell apache where is configuration file Status: Not a bug Type: Bug Package: *General Issues Operating System: ALL PHP Version: 8.0.6 Block user comment: N Private report: N New Comment: Sorry, would you mind closing this? Previous Comments: ------------------------------------------------------------------------ [2021-05-19 21:06:26] requinix@php.net Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Sorry that someone pointed you to this bug tracker, but you don't have a bug tracker question. ------------------------------------------------------------------------ [2021-05-19 20:59:17] gilperon at gmail dot com Description: ------------ I made a clean Centos 8 installation where I installed Apache 2.4 and php-fpm (remi-8.0) with this simple line: dnf install -y httpd php-fpm No other code, no other change to the server, nothing. After starting httpd.service and php-fpm I can access PHP files using my browser. Great. The problem is this: I know that the configuration file of PHP-FPM is at /etc/php-fpm.d/www.conf but I have absolutely no idea how Apache is loading this file. On /etc/httpd/conf/httpd.conf I see nothing pointing to this file, same in the conf.modules.d directory - nothing. I just want to know how does PHP tell Apache where to look for its configuration file ("/etc/php-fpm.d/www.conf")? In many tutorials online people installing php-fpm add lots of lines to virtual hosts, to httpd.conf file... But I did nothing and it worked. I already reported this on StackOverflow and was told to ask this here. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=81057&edit=1

« previous php.bugs (#233905) next »