Fwd: Getting Apache to restart
William H. Magill
magill at mac.com
Sat Oct 25 14:14:18 PDT 2014
oops forgot to cc the list
> Begin forwarded message:
>
> Subject: Re: Getting Apache to restart
> From: "William H. Magill" <magill at mac.com>
> Date: October 25, 2014 at 5:12:56 PM EDT
> To: Dave Horsfall <dave at horsfall.org>
>
>
>> On Oct 25, 2014, at 4:30 PM, Dave Horsfall <dave at horsfall.org> wrote:
>>
>> Sigh... I seem to recall this being discussed recently, but I do not
>> recall the outcome.
>>
>> What is the secret to getting Apache to restart, again? Every single web
>> reference I've seen says to use "apachectl restart" (which is how I do it
>> on FreeBSD), but on Yosemite it remains firmly un-restarted.
>>
>> I could've sworn it worked for earlier releases; if not Mavericks then
>> certainly for Snow Leopard. I don't really have a server on the Mac as
>> such, but I use it for testing pages before sending them to my FreeBSD
>> box.
>
> Yes, I just had that problem:
>
> See: MAMP documentation in the trac wiki.... Step 2 - Install Apache2.
>
> https://trac.macports.org/wiki/howto/MAMP
>
> The problem becomes --
> If you use Apachectl - that program defaults to launching /usr/sbin/httpd .... oops
>
> So, you get an instance running of Apple's web server that you have to terminate before the MacPorts version will start.
> (I.e. the Apple version is previously bound to port 80).
>
> In theory, if you simply rebooted AFTER doing the Mac Ports update, it would have "just worked."
> But nobody reboots anymore :)
T.T.F.N.
William H. Magill
# iMac11,3 Core i7 [2.93GHz - 8 GB 1067MHz] OS X 10.10
# Macmini6,1 Intel Core i5 [2.5 Ghz - 4GB 1600MHz] OS X 10.10 OSX Server (now dead)
magill at icloud.com
magill at mac.com
whmagill at gmail.com
More information about the macports-users
mailing list