I'm currently running a python script in my command line that uses blender:
blender -b -P script.py -- argument1
This works fine in my terminal however it returns no output in PHP when used
exec("blender -b -P script.py -- argument1", $test);
Commands such as "ls" work fine. It's only blender that doesn't want to run.
I saw another question that is pretty much the exact same problem I'm facing. It has not been answered yet.