I asked a question here earlier and got a few useful responses. But when I try to run a python script from php, I get a NULL return. I doubt it's a permissions issue since I ran chmod 777
on my working directories for testing purposes to rule that out and I still get the same issue. I tried looking online for an answer but from what I could find, people either have an issue running as well as their command, or no issue at all.
Why does exec()
and shell_exec()
work with ls on my webpage, but not with my python script?