I am trying to call a python script from php which have proper execution permission but the script contains some of the commands for which only the root has the permission. So how can i make sure that those commands runs properly from the webservice???
I followed this link: Running a Python script from PHP but could not understand how to do it. If someone could explain, it will be a great help.