Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 53912 invoked from network); 26 Mar 2007 00:46:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Mar 2007 00:46:05 -0000 Received: (qmail 37219 invoked by uid 500); 26 Mar 2007 00:46:03 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 36244 invoked by uid 500); 26 Mar 2007 00:46:01 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 36233 invoked by uid 99); 26 Mar 2007 00:46:01 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Mar 2007 17:46:01 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [209.73.178.145] (HELO web60417.mail.yahoo.com) (209.73.178.145) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 25 Mar 2007 17:45:52 -0700 Received: (qmail 28263 invoked by uid 60001); 26 Mar 2007 00:45:30 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=HAyND7F6yJ7qIUV28e6Cb2pxizCaa3CiG/RwJtFRnczT2AUnGLja+HGsTjW9pxSl5t9V4yQt7kx8atGC+uI0Q/BEREt2waspy8MlQm2ICIGHc/gz7hSv5K7Ti3i6hkZ7mGoMvGfxpHjz9ET0Mv5HhETACK+Fmv6dFZZntaLXGHc=; X-YMail-OSG: c8G6XqkVM1mtNYd1WZEMRkPFDdQBUI9wFlLqocIzdu2hhd6AA5hnlTaVfqsGoYpFfg-- Received: from [24.17.242.85] by web60417.mail.yahoo.com via HTTP; Sun, 25 Mar 2007 17:45:30 PDT X-Mailer: YahooMailRC/476 YahooMailWebService/0.7.41.8 Date: Sun, 25 Mar 2007 17:45:30 -0700 (PDT) From: David Blomstrom To: users@httpd.apache.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1971901472-1174869930=:28115" Message-ID: <868862.28115.qm@web60417.mail.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Dual Apache Installations on a Mac --0-1971901472-1174869930=:28115 Content-Type: text/plain; charset=ascii Thanks. I'm thinking of actually sticking with the default Apache installation. It appears to be much simpler than reconfiguring to accommodate MAMP's version. ----- Original Message ---- From: Andre-John Mas To: users@httpd.apache.org Sent: Sunday, March 25, 2007 5:24:04 PM Subject: Re: [users@httpd] Dual Apache Installations on a Mac On 25-Mar-07, at 08:04 , David Blomstrom wrote: > I've just discovered that the httpd.conf file I modified to enable > virtual hosts is not the same as the httpd.conf file in my newer > MAMP installation. In other words, my MacBook Pro is apparently > running off the original Apache installation, not the Apache that > came with the MAMP package; I assumed MAMP would automatically deal > with that issue. > > So I assume I need to somehow shut down the original Apache and at > the same time make the newer installation take over. I went into > System Preferences and disabled Web Sharing, thinking that would > shift everything to my newer Apache installation. Instead, my > websites simply died. > > Can anyone tell me what steps I have to do to fix this problem? > Ideally, I'd like to modify some file that would nix the original > Apache installation, so I don't have to fiddle with it every time I > reboot my computer...but I could un-modify it later, if I decide to > return to my original Apache program. > Generally control of Apache is via the apachectl command line tool. The one associated with the default install is located in: /usr/sbin/apachectl calling that with the 'stop' parameter will shut down the default apache server. To start your apache install, run the apachectl that corresponds to its installation. Of course doing this will only deal with what's running now, not with what may run at startup. If you are running your install, then you will want to disable Web Sharing, but at the same time ensure that port 80 in your firewall is open. The other thing you will want to do is copy /System/Library/StartUpItems/Apache to / Library/StartUpItems and then modify the scripts as necessary. > If I understand correctly, once I have everything configured, > Apache shouldn't be running at all when I boot my computer - until > I open the MAMP icon and manually start the Apache and MySQL > servers. So I THINK that's the configuration I'm looking for. > > Also, could a dual Apache installation wreak havoc with connecting > to a MySQL database? I'm able to create databases and import and > modify tables, but I've been unable to create a working connection. That all depends on what your application does, so the answer ranges from no to maybe to yes. You will have to take a look at what your application does to decide whether it can affect data consistency in your tables. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org ____________________________________________________________________________________ Food fight? Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A. http://answers.yahoo.com/dir/?link=list&sid=396545367 --0-1971901472-1174869930=:28115 Content-Type: text/html; charset=ascii
Thanks. I'm thinking of actually sticking with the default Apache installation. It appears to be much simpler than reconfiguring to accommodate MAMP's version.

----- Original Message ----
From: Andre-John Mas <ajmas@sympatico.ca>
To: users@httpd.apache.org
Sent: Sunday, March 25, 2007 5:24:04 PM
Subject: Re: [users@httpd] Dual Apache Installations on a Mac

On 25-Mar-07, at 08:04 , David Blomstrom wrote:

> I've just discovered that the httpd.conf file I modified to enable  
> virtual hosts is not the same as the httpd.conf file in my newer  
> MAMP installation. In other words, my MacBook Pro is apparently  
> running off the original Apache installation, not the Apache that  
> came with the MAMP package; I assumed MAMP would automatically deal  
> with that issue.
>
> So I assume I need to somehow shut down the original Apache and at  
> the same time make the newer installation take over. I went into  
> System Preferences and disabled Web Sharing, thinking that would  
> shift everything to my newer Apache installation. Instead, my  
> websites simply died.
>
> Can anyone tell me what steps I have to do to fix this problem?  
> Ideally, I'd like to modify some file that would nix the original  
> Apache installation, so I don't have to fiddle with it every time I  
> reboot my computer...but I could un-modify it later, if I decide to  
> return to my original Apache program.
>

Generally control of Apache is via the apachectl command line tool.  
The one associated
with the default install is located in:

/usr/sbin/apachectl

calling that with the 'stop' parameter will shut down the default  
apache server. To start
your apache install, run the apachectl that corresponds to its  
installation.

Of course doing this will only deal with what's running now, not with  
what may run at
startup.

If you are running your install, then you will want to disable Web  
Sharing, but
at the same time ensure that port 80 in your firewall is open. The  
other thing you
will want to do is copy /System/Library/StartUpItems/Apache to /
Library/StartUpItems
and then modify the scripts as necessary.

> If I understand correctly, once I have everything configured,  
> Apache shouldn't be running at all when I boot my computer - until  
> I open the MAMP icon and manually start the Apache and MySQL  
> servers. So I THINK that's the configuration I'm looking for.
>
> Also, could a dual Apache installation wreak havoc with connecting  
> to a MySQL database? I'm able to create databases and import and  
> modify tables, but I've been unable to create a working connection.

That all depends on what your application does, so the answer ranges  
from no to maybe
to yes. You will have to take a look at what your application does to  
decide whether
it can affect data consistency in your tables.



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org




No need to miss a message. Get email on-the-go
with Yahoo! Mail for Mobile. Get started. --0-1971901472-1174869930=:28115--