I'm trying to run a Python script from PHP with the function shell_exec("python3.5 semanticAnalyzer.py textoA.txt textoB,txt");
but it turns out that my php script does not do anything, I have a similar one that works, in my python file I already declared the environment variable and I gave it permissions.
Can someone help me?