Re: Installing Apache2 on Leopard

2009-01-24 Thread Rainer Müller
Jason Hirsh wrote:
 I have successfully accomplished this... but frankly the process just
 doesn't sit well with my sense of things.. I now have two complete
 Apache installations...   and have to do work arounds to get the port
 installation to work
 
 (apache2ctl etc)
 
 Isn't there away to install the port version over the orginal
 installation?   it just seems the more orderly way of doing things

http://trac.macports.org/wiki/FAQ#WillMacPortslinktosystemlibrariesratherthanitsown

No, it would not be okay to overwrite the system provided software. The
next upgrade by Apple would remove it or would render it unusable.

Rainer
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Installing Apache2 on Leopard

2009-01-24 Thread Scott Haneda

On Jan 24, 2009, at 5:16 AM, Jason Hirsh wrote:

I have successfully accomplished this... but frankly the process  
just doesn't sit well with my sense of things.. I now have two  
complete Apache installations...   and have to do work arounds to  
get the port installation to work


(apache2ctl etc)

Isn't there away to install the port version over the orginal  
installation?   it just seems the more orderly way of doing things



No, and you will get used to it as well.  The first time Apple update  
httpd.conf you will be thankful, and they have done so in the past.   
Apple also runs periodic scripts that roll out your logs.  Compressing  
them is nice, rolling them to deletion is not.


Apple's kit is more in line with casual serving, not something long  
term and to be hit hard.  Not to say it can not, but it will bite  
you.  The main thing is, good luck getting php even moderately usable  
with Apple's stuff, and they will break it eventually.


Ports needs some caution as well, as an upgrade, iirc, can nuke your  
settings as well.  I too did not like the change in command I had to  
learn, but you quickly learn to appreciate the isolation.


You can solve your issues in a few simple ways.  Add /opt/local/bin  
and whatever /opt paths you want to your $PATH, first in order.  Those  
commands will now take priority.


You can also just move aside apachectl and symblink it to the ports  
version. In the end, really, how often are you restarting apache anyway.

--
Scott

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Installing Apache2 on Leopard

2009-01-24 Thread Joshua Root
Scott Haneda wrote:
 Ports needs some caution as well, as an upgrade, iirc, can nuke your
 settings as well.

If you're thinking of this, it's been fixed:
http://trac.macports.org/ticket/8605

- Josh
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Installing Apache2 on Leopard

2009-01-24 Thread Ryan Schmidt


On Jan 24, 2009, at 07:48, Scott Haneda wrote:


On Jan 24, 2009, at 5:16 AM, Jason Hirsh wrote:

I have successfully accomplished this... but frankly the process  
just doesn't sit well with my sense of things.. I now have two  
complete Apache installations...   and have to do work arounds to  
get the port installation to work


(apache2ctl etc)

Isn't there away to install the port version over the orginal  
installation?   it just seems the more orderly way of doing things


No, and you will get used to it as well.  The first time Apple  
update httpd.conf you will be thankful, and they have done so in  
the past.  Apple also runs periodic scripts that roll out your  
logs.  Compressing them is nice, rolling them to deletion is not.


Apple's kit is more in line with casual serving, not something long  
term and to be hit hard.  Not to say it can not, but it will bite  
you.  The main thing is, good luck getting php even moderately  
usable with Apple's stuff, and they will break it eventually.


Ports needs some caution as well, as an upgrade, iirc, can nuke  
your settings as well.


This is up to the individual ports. For apache2 this was recently fixed:

http://trac.macports.org/ticket/8605

For other ports, please file tickets.

I too did not like the change in command I had to learn, but you  
quickly learn to appreciate the isolation.


You can solve your issues in a few simple ways.  Add /opt/local/bin  
and whatever /opt paths you want to your $PATH, first in order.   
Those commands will now take priority.


You can also just move aside apachectl and symblink it to the ports  
version. In the end, really, how often are you restarting apache  
anyway.


___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users