I need to set an environment variable in a way that a PHP script is able to access it
my system is Centos 6, 64 bits , with Apache server and PHP
Basically I'm using a third party linux library that uses xulrunner. Xulrunner is installed on a folder in the centos server.
I need to set an environment variable to indicate this tool where xulrunner is installed.
When i set that environment variable using
Export Variable=location
In the ssh
command line, it works great, perfect, and the tool executes perfect
but when I try from php it fails because its not finding the location, because obviously its not accessing that environment variable
so I need help to set an environment variable in a way that PHP script and user apache can access it
thank you