config non-PHP environment