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

(10-14-2021, 09:59 AM)fagnerdin Wrote: Hi, folks!
Please, where's  4.2 branch?

4.2 was merged into develop, and deleted.
Use develop branch now.
Reply
#12

(This post was last modified: 10-16-2021, 05:22 PM by fagnerdin.)

You're right, thank you.
Reply
#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




Theme © iAndrew 2016 - Forum software by © MyBB