fixed www-data path in example nginx configs. added hostname thing for nginx conf
updated fpm directive for nginx samples
fixed bugs in php/app scripts that re-sourced the config. added all config vars to export. updated default versions in config file. set up conditional source builds for nginx and openssl.