title: how to run big python script in php using browser
body: <p>I have tried all the php method to run my python script in php like exec(),shell_exec(),system(),popen() etc but nothing is working , if try the php from terminal it is working fine</p>
  
  <p>Here is my script</p>
  
  <pre><code>test.php
  
  &lt;?php
    $term = system(python /home/user/script.py /input-path/input/ /output-path/output
   )&gt;
  </code></pre>