Mac OS X 10.3 Server and Apache, MySQL, and PHP

Posted on 2004-10-21
Last Modified: 2010-04-29
We just purchased a new Apple server with 10.3 Mac OS X Server which comes with Apache 1.3.31 and MySQL and PHP 4.  How do I do an upgrade to Apache 2 and PHP 5 and MySQL 4?  When I try to upgrade Apache the system gets hosed up somehow and will no longer function or server pages.  Never mind upgrading the rest.  I have tried it now twice and have had to reinstall the OS both times.  Does anyone have a way to do this?
Question by:ddepuemd
    LVL 23

    Expert Comment

    LVL 5

    Accepted Solution


    Before you 'upgrade' the AMP (Apache, MySQL, PHP) on OSX Server, you have to make sure that you're quite savvy with *nix.

    OSX Server (emphasis on the *SERVER*) has their own default installation directory : /usr/bin

    If you use Mark's compilation (an excellent work!), those things will be installed in : /usr/local/bin

    If you use fink (fav for all those die hard debian user), those things will be install in : /sw

    If you use ServerLogistic ( most updated), those things will be install in their own version.  (I haven't got to check it out yet, but you should peek into this sites.  They have quite a nice apache-mysql-php forum).

    Basically, aside from 'upgrade', there's a lot of things to get tuned, especially those that point to a certain directory.  You might end up with 2 or 3 apache in your system (which is fine), but you have to make the system (especially if you use OSX Server Admin to control those service) to recognize which application to 'run'. Is it the one in /sw or the one in /usr/local or even the one in ~/myname ?

    (That's why I emphasize on *SERVER* earlier, because on OSX 'client', you don't have Server Admin program).

    So ddempued, are you savvy enough? (else, the safest way is to wait for Apple to release their own upgrade package, which will took quite a while).

    Good luck.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone. Privacy Policy Terms of Use

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    The /etc/authorization file in Mac OS X 10.x can be used to control access to the various panes of the System Preferences amongst other things. It’s used by some of us Mac Sys Admin’s to give Standard Users access to System Prefs panes that only adm…
    Create a default user profile for Mac OS X 10.7/10.8 Create a user account on OS X that will be a template for every other user of that computer. I usually call it “profile” and make it an administrator account for the time being. 1. Install a…
    With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!

    860 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now