I set up a php script to run my python package from html page. My python modules call some external proprietary tools via system variables from ~/.bash_profile
.
PURPOSE: When I use php to execute my scripts, no environment variables are available (os.getenv()
return None
).
QUESTION: What is the most efficient method to path system variable from PHP to python?
Thanks in advance