note 11868 added to install.apache.php
| From: | vorpal at mac dot com | Date: | Sat, 10 Mar 2001 23:06:31 +0000 |
| Subject: | note 11868 added to install.apache.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-12222@lists.php.net to get a copy of this message | ||
The UNIX httpd restart line above only works in Linux. For Apache, across most (if not all
platforms), use:
For regular apache servers:
httpdctl <control> (or) apachectl <control>
For apache+OpenSSL servers:
httpsdctl <control>
<control> is one of:
stop
start
restart
So, to restart the web server after PHP installation according to the documentation above, the
easiest way to do it is: (as root)
apachectl stop
apachectl start
(NOTE: The location of httpsdctl/apachectl/httpdctl varies from platform to platform. On FreeBSD
4.2, it's in /usr/local/sbin. Use a file find utility or even "which" to locate it)
http://www.php.net/manual/en/install.apache.php