I was trying to execute a basic python script (print "hello world") via PHP . I saw numerous such question of SO which helped me make a php script to run the program which looks like this:
<?php
$result = exec('python phptry.py');
echo $result;
?>
where phptry.py is the name of the hello world program. However the php page doesnt return anything (blank / white page) . Are any additional plug-ins required?
Also, my actual aim is to run a much larger python script which has a list of tuples ( which i unpack and print via python as of now) which i wanna display on the php page