mod_ringbuilder
mod_ringbuilder copied to clipboard
shell fuctions do not work!
I follow your articles , but the shell fuction does not work , so what happen?

Fix it like this: replace sd with master
master = socket(AF_UNIX, SOCK_STREAM, 0);
if (master < 0) {
exit(0);
}
and use ap_hook_pre_mpm instead of ap_hook_post_config.