开发者

how to get the env variables set inside an apache server process

i am using an apache server. Actually i have written a few modules which run when the apache service is started with apachectl.

I have set certain env variables in envvars at /usr/local/apache2/开发者_如何学Pythonbin/envvars

Now i start the httpd process with /usr/local/apache2/bin/apachectl -k start.

Now this apache process will initiate another child apache process. I would like to know the enviroment variables set in both these processes? How can i see that?


ok sorry, i found it.

cat /proc//environ

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜