To create a variable, use:
apache_setenvWith Wampserver, there is absolutely no need for environment variables.
---------------------------------------------------------------
Documentation Apache -
Documentation PHP -
Documentation MySQL -
Wampserver install files & addons