Bug #77653 [Asn]: php-fpm, operator displayed instead of the real error message
| From: | bukka@php.net | Date: | Sun, 24 Feb 2019 15:48:03 +0000 |
| Subject: | Bug #77653 [Asn]: php-fpm, operator displayed instead of the real error message | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-219720@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=77653&edit=1
ID: 77653
Updated by: bukka@php.net
Reported by: claudiu_beta at yahoo dot com
Summary: php-fpm, operator displayed instead of the real
error message
Status: Assigned
Type: Bug
Package: FPM related
Operating System: Fedora 29
PHP Version: 7.3.3RC1
Assigned To: bukka
Block user comment: N
Private report: N
New Comment:
I just tested the "Unable to open primary script" by removing read permission for the
primary script and it works fine for me with 7.3. I got fallowing:
[24-Feb-2019 15:38:41] WARNING: [pool unconfined] child 28113 said into stderr: "NOTICE: PHP
message: PHP Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0"
[24-Feb-2019 15:38:41] WARNING: [pool unconfined] child 28113 said into stderr: "Unknown(0) :
Warning - Unknown: failed to open stream: Permission denied"
[24-Feb-2019 15:38:41] WARNING: [pool unconfined] child 28113 said into stderr: "ERROR: Unable
to open primary script: /home/jakub/prog/php/tests/fpm/log-no-script/test.php (Permission
denied)"
It means I need a bit more info from you. Could you pls paste your fpm config. Does it happen for
all logged messages from the worker or is it just for some entries. Also can you add a bit more info
about the app and what's being logged.
Previous Comments:
------------------------------------------------------------------------
[2019-02-22 08:17:30] claudiu_beta at yahoo dot com
Description:
------------
Starting with my first tested php 7.3 version and including the latest 7.3.3RC1, I have this in
master php-fpm log:
[21-Feb-2019 14:33:59] WARNING: [pool name] child 23221 said into stderr: "^@"
Operator displayed instead of proper error message.
In any previous php version the message is displayed correctly.
e.g.
[21-Feb-2019 20:24:14] WARNING: [pool name] child 2491 said into stderr: "ERROR: Unable to open
primary script: ....."
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=77653&edit=1