running python

Status
Not open for further replies.

elnaz090

New Member
Messages
1
Reaction score
0
Points
0
hi
i want to know how i can run my python script.

i have a test.py file but when i run "shell_exec('python test.py')" i get an error says that shell execute is disabled.
is there any way i can run my python script?

regards
 
Last edited:

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
You want to run a python script from inside a PHP script?
 

Jake

Developer
Contributors
Messages
4,057
Reaction score
5
Points
0
Shell has been disabled for obvious security reasons.

You may be able to run python inside cgi.
 
Status
Not open for further replies.
Top