I currently have a script which will run via the browser and separately via the "php" command line tool.
Now the problem is, I am able to access the Apache Environment variables while script being called from the browser, but unable to access it while the script is called via command line.
How can I get the Apache environment available to the command line script as well ?