Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building Apache, PHP, MySQL on OS XS



At 5:11 PM -0400 6/22/02, <email@hidden> wrote:
Is there a resources somewhere that will explain to a 'newbie' how to build
Apache, PHP and MySQL on OS XS?

I have these on my OS XS and have done it a few times on OS X client.

My concerns are these:
Most instructions for say, MySQL, indicate small enough differences that it
gets built in another directory (usr/local as opposed to usr/share?).

/usr/local is for stuff local to only that particular machine (i.e. user-installed stuff). /usr/share is for example config files to teach you how to configure stuff and docs. You should never be choosing between those two, as they're for entirely different purposes. You would choose between /usr/share and /usr/local/share. The /usr/local/ hierarchy will basically mimic the top-level hierarchy, where you/ll use /usr/lical/bin, /usr/local/sbin, etc.

"man hier" to learn what should go where.

I also am concerned that when I start to start to learn WO5 and use it with
MySQL, that if I have rebuilt MySQL in some place other then where Apple put
it... will it cause problems that I can't "get around" without loads of
emails to some nice person and loads of time spent.

Yes, if you don't want to have to tell stuff where your binaries are, then you should put the new binaries in place of the Apple-supplied versions.

I would like to be able to update or reinstall these, but to locate them
where Apple put them in the first place or else relocate them to a more
"proper" directory all together? -that would include getting rid of the old
ones, no? I don't want to end up with 2, e.g, MySQLs. I don't know these
answers, nor do I know [now] enough to change the install scripts *IF* that
is truly what's needed and/or to remove completely the old ones as well.

I guess the easiest answer is to wait until Apple updates them for me :-),
but I am inquiring in hopes of learning how to do this myself. I would
think that somewhere out there someone has done this and may have a set of
steps to follow? These three packages are certainly some if not "the" most
popular: Apache, PHP, MySQL.

I have contacted Marc Lyniage, since I used his sire several times on OS X
client. he said that when he gets a chance to work on OS XS he may update
his info (this is not a direct quote, obviously). I started to use his info
for MySQL but noticed an install path difference (see above).

Mysql is in /usr/bin/mysql. The /usr/share isn't relevant, that's just supplemental files.

Mike
--
Bikers don't *DO* taglines.
_______________________________________________
macos-x-server mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macos-x-server
Do not post admin requests to the list. They will be ignored.

References: 
 >Building Apache, PHP, MySQL on OS XS (From: <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.