Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Upgrade PHP 5.3.1 to 5.3.6 in Mac XAMPP

Tags:

php

macos

xampp

I just downloaded Symfony2, and it requires >= PHP 5.3.2, but the latest Mac version of XAMPP only has 5.3.1

Is it possible to swap/upgrade v5.3.1 with 5.3.6 with XAMPP? If so, how?

I'm running Mac OS X 10.6.8, also.

like image 236
redgem Avatar asked Oct 10 '22 15:10

redgem


2 Answers

XAMP released a BETA for Mac that runs PHP 5.4.7

like image 200
mPrinC Avatar answered Nov 05 '22 07:11

mPrinC


I left MAMP for this reason a couple of years ago, switch to MacPorts or Homebrew and you'll be happy...

For the differences between them:

MacPorts

  • Pro: has a lot of software, you'll find anything you need.
  • Con: it's slower because it will download and compile any single piece of software. It doesn't use your system libraries, so you need more disk space. On the other side this could be a pro, because you'll never find a library issue (lib x require lib y version z)

Homebrew

  • Pro: simpler and faster, and if you do know ruby you can write your own recipe to add missing software. Doesn't need sudo access.
  • Con: you can encounter issues related to library versions and dependencies, MacPorts has more software than homebrew.
like image 37
Fabio Avatar answered Nov 05 '22 07:11

Fabio