Apache has suexec enabled with phpsuexec(each user runs PHP scripts like he, not nobody) PHP is CLI. So I parse php file normally through browser. That php file is executing shell command in like exec($command); Ie: gocr -h Now expected output(which is NOT error), ends up in Apaches error_log!!! Eactly a same way as it should appear in STDOUT in shell!!! When I log in like that user, through shell and execute that same command in shell, output is expected and SAME like one previously gone in Apaches error_log How to fix this?