我如何使用node.js更改apache环境变量基本上我正在寻找类似PHP的apache_setenv()的东西
I think you want export
NODE_ENV=locahost
export NODE_ENV
or on 1 line export NODE_ENV=localhost
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.