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

From: Date: Wed, 19 May 2021 20:59:17 +0000
Subject: Bug #81057 [NEW]: PHP-FPM: how to tell apache where is configuration file
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-233903@lists.php.net to get a copy of this message
From: gilperon at gmail dot com Operating system: ALL PHP version: 8.0.6 Package: *General Issues Bug Type: Bug Bug description:PHP-FPM: how to tell apache where is configuration file 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 bug report at https://bugs.php.net/bug.php?id=81057&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=81057&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=81057&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=81057&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=81057&r=needscript Try newer version: https://bugs.php.net/fix.php?id=81057&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=81057&r=support Expected behavior: https://bugs.php.net/fix.php?id=81057&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=81057&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=81057&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=81057&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=81057&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=81057&r=dst IIS Stability: https://bugs.php.net/fix.php?id=81057&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=81057&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=81057&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=81057&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=81057&r=mysqlcfg

« previous php.bugs (#233903) next »