summaryrefslogtreecommitdiffstats
path: root/httpd.init
diff options
context:
space:
mode:
Diffstat (limited to 'httpd.init')
-rwxr-xr-xhttpd.init6
1 files changed, 5 insertions, 1 deletions
diff --git a/httpd.init b/httpd.init
index c8e8259..d6c3f25 100755
--- a/httpd.init
+++ b/httpd.init
@@ -20,9 +20,13 @@ fi
# mod_ssl needs a pass-phrase from the user.
INITLOG_ARGS=""
+# Set HTTPD=/usr/sbin/httpd.worker in /etc/sysconfig/httpd to use a server
+# with the thread-based "worker" MPM; BE WARNED that some modules may not
+# work correctly with a thread-based MPM; notably PHP will refuse to start.
+
# Path to the apachectl script, server binary, and short-form for messages.
apachectl=/usr/sbin/apachectl
-httpd=/usr/sbin/httpd
+httpd=${HTTPD-/usr/sbin/httpd}
prog=httpd
RETVAL=0