I am trying to run a python script from php.
exec(\"../cgi-bin/form.py\", $output); var_dump($output);
I\'m certain the path is correct, an
You're literally just typing in the location of the file. You need to tell exec to execute python with that script.
exec("python ../cgi-bin/form.py", $output);