<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Nov 26, 2022 at 1:28 AM Kaushal Shriyan <<a href="mailto:kaushalshriyan@gmail.com">kaushalshriyan@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<br><div><br></div><div><div>I am using nginx web server and php-fpm backend service to process all php files. NGINX proxies web requests and passes them on to PHP-FPM worker processes that execute the PHP application. Is there a way to capture both response header and body which are processed by PHP-FPM application? Also does the php-fpm response contain only header and body or anything else in response to nginx web server? Please guide me with examples. Thanks in advance. </div><div><br></div></div><div><img src="cid:ii_lawxeb251" alt="image.png" width="452" height="83"><br></div><div><br></div><div><div>Best Regards,</div><div><br></div><div>Kaushal</div></div></div></blockquote><div><br></div><div>Hi, </div><div><br></div><div>I have also enabled <a href="https://www.drupal.org/project/http_client_log" target="_blank">https://www.drupal.org/project/http_client_log</a>. Whenever I hit any URL, I do not see any activity seen in <a href="https://drupalcms.mydomain.com/admin/reports/http-client-log" target="_blank">https://drupalcms.mydomain.com/admin/reports/http-client-log</a>. Do I need to configure anything else in http-client-log? I am interested in finding out the response header and body from php fpm backend services which is an upstream server to Nginx web server. <br></div><div><br></div><div><u>OS Version</u></div><div><div>CentOS Linux release 7.9.2009 (Core)<br></div><div><br></div></div><div><u>php -v</u><br>PHP 7.4.33 (cli) (built: Nov 10 2022 16:47:47) ( NTS )<br>Copyright (c) The PHP Group<br>Zend Engine v3.4.0, Copyright (c) Zend Technologies<br>    with Zend OPcache v7.4.33, Copyright (c), by Zend Technologies<br></div><div><br></div><div># rpm -qa | grep php<br>php74-pecl-zip-1.19.0-1.el7.ius.x86_64<br>php74-common-7.4.33-1.el7.ius.x86_64<br>php74-pdo-7.4.33-1.el7.ius.x86_64<br>php74-bcmath-7.4.33-1.el7.ius.x86_64<br>php74-cli-7.4.33-1.el7.ius.x86_64<br>php74-pecl-msgpack-2.1.0-1.el7.ius.x86_64<br>php74-fpm-7.4.33-1.el7.ius.x86_64<br>php74-pecl-redis-5.2.2-1.el7.ius.x86_64<br>php74-fpm-nginx-7.4.33-1.el7.ius.noarch<br>php74-mysqlnd-7.4.33-1.el7.ius.x86_64<br>php74-gd-7.4.33-1.el7.ius.x86_64<br>php74-sodium-7.4.33-1.el7.ius.x86_64<br>php74-opcache-7.4.33-1.el7.ius.x86_64<br>php74-json-7.4.33-1.el7.ius.x86_64<br>php74-pecl-igbinary-3.1.2-1.el7.ius.x86_64<br>php74-mbstring-7.4.33-1.el7.ius.x86_64<br>php74-xml-7.4.33-1.el7.ius.x86_64<br></div><div>#</div><div><br></div><div>#<u>mysql -V</u><br>mysql  Ver 14.14 Distrib 5.7.40, for Linux (x86_64) using  EditLine wrapper<br></div><div><br></div><div>#<u>nginx -v</u><br>nginx version: nginx/1.22.1<br></div><div><br></div><div><div>I will appreciate it if someone can pitch in for help for my post to this mailing list. Thanks in advance. </div><div><br></div></div><div>Best Regards,<br></div><div><br></div><div>Kaushal </div></div></div>