Adding apache restart hints from eratta.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@44004 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Ron Chmara 2001-03-21 03:27:23 +00:00
parent 197e77fb09
commit 6e6ca0cdf3

View file

@ -3406,6 +3406,35 @@ $ php4-enable
</programlisting>
</example>
<para>
Depending on your Apache install and Unix veriant, there are many
possible ways to stop and restart the server. Below are some typical
lines used in restarting the server, for different apache/unix
installations. You should replace <literal>/path/to/</literal> with
the path to these applications on your systems.
<informalexample>
<programlisting>
1. Several Linux and SysV variants:
/etc/rc.d/init.d/httpd restart
2. Using apachectl scripts:
/path/to/apachectl restart
3. httpdctl and httpsdctl (Using OpenSSL), similar to apachectl:
/path/to/httpsdctl restart
4. Using mod_ssl, or another SSL server, you may want to manually
stop and start:
/path/to/apachectl stop
/path/to/apachectl startssl
</programlisting>
</informalexample>
The locations of the apachectl and http(s)dctl binaries often
vary. If your system has <literal>locate</literal> or
<literal>whereis</literal> or <literal>which</literal> commands,
these can assist you in finding your server contrl programs.
</para>
<para>
Different examples of compiling PHP for apache are as follows:
<informalexample>
@ -3480,7 +3509,7 @@ $ php4-enable
<ulink url="&url.apachedso;">webpage on DSO support</ulink>.
</para>
</sect2>
<sect2 id="install.apache.windows">
<title>Details of installing PHP on Windows with Apache 1.3.x</title>
@ -3529,6 +3558,9 @@ $ php4-enable
</simpara>
</listitem>
</itemizedlist>
Remerber to restart the server, for example,
<literal>NET STOP APACHE</literal> followed by
<literal>NET START APACHE</literal>.
</para>
<para>