Init modules in apache2

后端 未结 3 1376
失恋的感觉
失恋的感觉 2021-01-13 21:30

I used to write apache modules in apache 1.3, but these days I am willing to pass to apache2. The module that I am writing at the moment has is own binary data, not a databa

3条回答
  •  清歌不尽
    2021-01-13 21:55

    Since you want the server to create a single shared memory segment to be used by all children, I would recommend initialising this in the post config hook (ap_hook_post_config). This is called once the configuration has been read, but before the children are spawned, so it should work well.

提交回复
热议问题