Fix Python – Running a Python script from PHP

I’m trying to run a Python script from PHP using the following command:
exec(‘/usr/bin/python2.7 /srv/http/assets/py/ arg1 arg2’);
However, PHP simply doesn’t produce any output. Error reporting is set to E_ALL and display_errors is on.
Here’s what I’ve tried:

I used python2, /usr/bin/python2 and python2.7 instead of /usr/bin/python2.7