faqts : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

5 of 9 people (56%) answered Yes
Recently 5 of 9 people (56%) answered Yes


How can I use apache to set PHP Environment variables?

Feb 24th, 2008 19:41
dman, Matt D, Shane Faulkner, http://www.ttnr.org

Use the Apache directive SetEnv to set environment variables that may 
be referenced in PHP code:
The following Apache article explains with 
SetEnv OS WINDOWS      # set the envariable "OS" to value "WINDOWS"