Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I'm running 10.6.4 and PHP reports itself as version 5.3.2 (5.3.3 is available) and mySQL reports version 5.1.45 (5.1.51 is available)

I know they are minor releases but is it possible to easily update either of these? If so, any hints or pointers as to how?

share|improve this question
    
Do you have MySQL installed by default? It's not on my system, even though I do have devel tools installed. –  Peter Štibraný Oct 3 '10 at 16:27
    
Now that you mention it I'm thinking I had to install it on my MBP but it was installed on our server. mySQL should be available at mysql.com/downloads/mysql –  Jason Oct 3 '10 at 17:52
1  
@Peter Štibraný: MySQL is pre-installed with Mac OS X Server but not Client –  Chealion Oct 3 '10 at 18:54
    
@Chealion: ah, didn't know that. Thanks. –  Peter Štibraný Oct 3 '10 at 19:21
add comment

1 Answer

up vote 3 down vote accepted

Briefly; no there is no easy way to update them. (Assuming that compiling from source is not considered easy)

I would strongly caution against modifying the system installed versions as you're likely to have your updated versions broken when Apple issues an update that updates them. (Usually Security Updates and has bitten some users/sysadmins when Perl has been updated)

If you wanted to update them it's a matter of downloading the source files and installing it over top of the provided versions.

As a reasonable alternative I recommend installing your own managed version of PHP and MySQL into /usr/local or using your packaging software of choice (MacPorts, Fink or Homebrew) or prepared installer (eg. MySQL's .pkg installer that installs into /usr/local).

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.