Uncategorized

PHP Not running python script


I am trying to run a python script using PHP. If I run the script from my server, it works fine however when I try and run it using the exec function in PHP, nothing happens.

exec('py test.py');

I have tried using the full file paths, and using python instead of py but each time nothing happens.



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *