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

Your getting the errors because STDOUT is not defined, which could be your environment.
You can try adding these constants to see if it will work.
PHP Code:
if(!defined('STDIN'))  define('STDIN',  fopen('php://stdin',  'rb'));
if(!
defined('STDOUT')) define('STDOUT'fopen('php://stdout''wb'));
if(!
defined('STDERR')) define('STDERR'fopen('php://stderr''wb')); 

Try that.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
RE: Error 500 - CLI.php - Use of undefined constant STDOUT - by InsiteFX - 08-15-2021, 01:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB