Welcome Guest, Not a member yet? Register   Sign In
Error 500 - CLI.php - Use of undefined constant STDOUT
#13

(08-15-2021, 01:21 AM)Taras Wrote: After some investigation I found that there are changes in system/Common.php for is_cli() method that cause current issue.

It's identified as CLI in condition:

PHP Code:
if (stristr(PHP_SAPI'cgi') && getenv('TERM')) 


because PHP_SAPI equals to fpm-fcgi and TERM variable equals to xterm.


Is this correct behavior? How this should be fixed?
(I am using docker with php-fpm and nginx.)
Reply


Messages In This Thread
RE: Error 500 - CLI.php - Use of undefined constant STDOUT - by the_martux - 11-03-2021, 02:40 PM



Theme © iAndrew 2016 - Forum software by © MyBB