Rather than hard-wiring some paths in my php.ini configuration, I'd like to configure them using system variables that are shared in some other places such as my Apache configuration. I've done some searching and couldn't find the right mix of keywords to discover if there's a way to do this.
Does anyone know if this can be done?
upload_tmp_dir = $SCRATCH_HOME/uploads
Now SCRATCH_HOME can be exported in the environment as /tmp or /var/scratch or whatever I want it to be.