Welcome! Log In Create A New Profile

Advanced

Re: Nginx and PHP-FastCGI Process Manager

All files from this thread

File Name File Size   Posted by Date  
image.png 262.7 KB open | download kaushalshriyan 11/25/2022 Read message
image.png 262.7 KB open | download kaushalshriyan 11/27/2022 Read message
Aleksandar Lazic
November 27, 2022 05:40PM
Hi.

On 27.11.22 09:41, Kaushal Shriyan wrote:
> On Sat, Nov 26, 2022 at 1:28 AM Kaushal Shriyan <kaushalshriyan@gmail.com>
> wrote:
>
>> Hi,
>>
>> 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.
>>
>> [image: image.png]
>>
>> Best Regards,
>>
>> Kaushal
>>
>
> Hi,
>
> I have also enabled https://www.drupal.org/project/http_client_log.
> Whenever I hit any URL, I do not see any activity seen in
> https://drupalcms.mydomain.com/admin/reports/http-client-log. 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.
>
> *OS Version*
> CentOS Linux release 7.9.2009 (Core)
>
> *php -v*
> PHP 7.4.33 (cli) (built: Nov 10 2022 16:47:47) ( NTS )
> Copyright (c) The PHP Group
> Zend Engine v3.4.0, Copyright (c) Zend Technologies
> with Zend OPcache v7.4.33, Copyright (c), by Zend Technologies
>
> # rpm -qa | grep php
> php74-pecl-zip-1.19.0-1.el7.ius.x86_64
> php74-common-7.4.33-1.el7.ius.x86_64
> php74-pdo-7.4.33-1.el7.ius.x86_64
> php74-bcmath-7.4.33-1.el7.ius.x86_64
> php74-cli-7.4.33-1.el7.ius.x86_64
> php74-pecl-msgpack-2.1.0-1.el7.ius.x86_64
> php74-fpm-7.4.33-1.el7.ius.x86_64
> php74-pecl-redis-5.2.2-1.el7.ius.x86_64
> php74-fpm-nginx-7.4.33-1.el7.ius.noarch
> php74-mysqlnd-7.4.33-1.el7.ius.x86_64
> php74-gd-7.4.33-1.el7.ius.x86_64
> php74-sodium-7.4.33-1.el7.ius.x86_64
> php74-opcache-7.4.33-1.el7.ius.x86_64
> php74-json-7.4.33-1.el7.ius.x86_64
> php74-pecl-igbinary-3.1.2-1.el7.ius.x86_64
> php74-mbstring-7.4.33-1.el7.ius.x86_64
> php74-xml-7.4.33-1.el7.ius.x86_64
> #
>
> #*mysql -V*
> mysql Ver 14.14 Distrib 5.7.40, for Linux (x86_64) using EditLine wrapper
>
> #*nginx -v*
> nginx version: nginx/1.22.1

Please can you post also the output of *nginx -T* and what's in the
error log and access log at time when you run the request.

> I will appreciate it if someone can pitch in for help for my post to this
> mailing list. Thanks in advance.
>
> Best Regards,
>
> Kaushal
>
>
> _______________________________________________
> nginx mailing list -- nginx@nginx.org
> To unsubscribe send an email to nginx-leave@nginx.org
_______________________________________________
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-leave@nginx.org
Subject Author Posted

Nginx and PHP-FastCGI Process Manager Attachments

kaushalshriyan November 25, 2022 03:00PM

Re: Nginx and PHP-FastCGI Process Manager Attachments

kaushalshriyan November 27, 2022 03:44AM

Re: Nginx and PHP-FastCGI Process Manager

Aleksandar Lazic November 27, 2022 05:40PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 232
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready