Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.4: Repair PHP/MySQL connections in 10.4.4' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Repair PHP/MySQL connections in 10.4.4
Authored by: darken9999 on Jan 13, '06 08:37:32AM

After two years of running OS X Server, I know this stuff all too well. If you do custom configurations (outside of Server Admin or System Preferences), or if you install/compile your own versions of pre-installed software, put it in /usr/local. You'll need to put /usr/local/bin and sbin before /usr/bin and sbin in your path, but that's the only part of the standard system that changes. In short, your software won't replace what Apple installed, but you're telling the system to use your version instead.

The MySQL binary already puts everything in /usr/local, if I remember correctly. Doing it with Apache/php is a good idea too (I use lighttpd, which I like much better). That way, when you do something funny with your php, a Software Update won't thrash your setup.



[ Reply to This | # ]
10.4: Repair PHP/MySQL connections in 10.4.4
Authored by: tforrest on Jan 16, '06 06:40:49AM
Very good point! This article does a good job of explaining 'why'

[ Reply to This | # ]