Have you taken a look at : http://www.php.net/manual/en/reserved.variables.environment.php http://www.php.net/manual/en/function.getenv.php http://www.php.net/manual/en/function.putenv.php
Peter elhobit schreef:
Hello I want to use the same environment variables under PHP as in the shell. For example the variable PATH in PHP is set to PATH=/bin:/usr/bin Since there are programs in other folders, these paths are not sufficient. I tryed to modify the file /etc/conf.d/http unfortunatly it did not work. Does anyone know how to change and set these environment variables? Thanks in advance for your help.
