Macports, Apache PATH evn?

Rob Krul robertkrul27 at
Sat May 15 13:44:11 PDT 2010

Just do a full restart:

$ apache2ctl stop; apache2ctl start. You have to actually kill the apache process for it to reread the envvars. 'graceful' is even a lighter reload than 'restart.' A 'graceful' restart keeps current connections alive, unlike restart, so no, the envvars file would not be reread. As Scott pointed out, you have to completely kill the apache process by stopping and starting.

On May 15, 2010, at 4:35 PM, Scott Haneda wrote:

> On May 15, 2010, at 1:16 PM, Dan Poirier <poirier at> wrote:
>> Restart doesn't fully restart Apache; it stops the worker processes,
>> reads the configuration again, and starts new workers, but the envvars
>> file is read before the original process starts and never again, so a
>> full stop and start is needed to notice changes there.
> What about the "graceful" flag/argument to apachectl? Does that re-read envars and truly restart the server, workers, etc?
> What does port load/unload do in this regard? Aren't there also port start/stop commands as well?
> -- Scott * If you contact me off list replace talklists@ with scott@ * (Sent from a mobile device)_______________________________________________
> macports-users mailing list
> macports-users at

More information about the macports-users mailing list