php的cli模式下设置环境变量

PHPENV=production nohup /data/php73/bin/php /www/webroot/xxxx/index.php extend/xxxx sendSmsCli &

PHPENV=production /usr/local/php/bin/php /data/webroot/xxxxxxx/htdocs/index.php /makeitem/xxxxxxxxx >> ./postArticleToBbs.log &

猜你喜欢

转载自blog.csdn.net/abiao555/article/details/111197947
今日推荐