scripting – Wolframscript – no output of commands when executing PHP

I'm trying to execute a simple command via PHP:

echo shell_exec('wolframscript -code 2+2');

However, I can not get output from this command in this implementation. If I write only the same in cmd / powershell, it works correctly.

I'm using v12 on Windows, php7.3.