You can do a few things. One of them is to add these things to the environment of the web user. Second, you can use the
SetEnv (or PerlSetEnv if using mod_perl, and you want to) directive in your Apache config file (I assume you are on Apache, if not, check the server docs for your server).
Cheers,
KM