Running a script on the command line:
php testfile.php
The file contains the following:
echo print_r($_SERVER, true);
I've noticed it has JAVA_HOME and PATH variables in the terminal output. I've tried adding my own variables to the /etc/environment (Linux) assuming it was using such variables but they don't appear.
So where are these variables defined and can I add my own?