This directive is used only if ServerType is standalone
.
PidFile file
file
is the name of the file to which the process id is
logged. It is either a full pathname, or a partial pathname
relative to ServerRoot.
Only one PidFile directive is allowed in the configuration file.
PidFile logs/httpd.pid
Compile Option: DEFAULT_PIDLOG
PidFile logs/pid
This logs the process id to the file logs/pid in the ServerRoot directory.
PidFile /tmp/httpd-pid
This logs the process id to the file /tmp/httpd-pid
.
PidFile /dev/null
The server does not log its process id.