Daily Archives: April 5, 2010

Installing Apache2 and PHP5 on Mac OS X Snow Leopard

I recently migrated to Mac and I have to say I’m really happy so far. I’m running Mac OS X Snow Leopard. My development environment is as follows:

  • Apache 2
  • PHP 5.3
  • PDO MySQL
  • Apc
  • Memcache
  • Xdebug
  • Imagick

I used to work with XAMPP under Windows XP. When I migrated to Mac I was first using MAMP as Snow Leopard just went out and I ran into multiple problems trying to compile PHP with the necessary extensions. I just found out that it’s not a problem anymore with the latest installations of XCode and MacPorts. Here’s how to install your dev machine…

Continue reading