Mac OS X Snow Leopard, PHP, MySQL, SVN, Xcode, and Me…

By Xeon Xai  

With minimal effort, I was able to get the PHP bundled with Snow Leopard to use the PHP extensions that I had compiled for xdebug, imagick, and magickwand to run in 64bit mode.

Snow Leopard comes bundled with Apache 2.2.11, PHP 5.3.0, and SVN 1.6.2.

I upgraded my MySQL install from 5.0.77 to 5.1.37 and then moved my data folder to another location to help keep things sane using the /etc/my.cnf file.

I installed the Xcode from the Snow Leopard CD and downloaded the iPhone SDK 3.1 Beta 3 for Snow Leopard.  Slightly different interface, but I welcome the changes.

So now, instead of using external packages for SVN and PHP (Entropy), now I’m using the prepackaged bundled software.  I did have to reconfigure my svn connection in Apache as it got toasted in the upgrade to Snow Leopard.  It wasn’t a problem though as it was only a few lines.

Now I can sleep good, I hope.

VN:F [1.9.22_1171]
Rating: 7.3/10 (4 votes cast)
VN:F [1.9.22_1171]
Rating: +2 (from 4 votes)
Mac OS X Snow Leopard, PHP, MySQL, SVN, Xcode, and Me..., 7.3 out of 10 based on 4 ratings

4 Comments

  1. Posted September 1, 2009 at 1:34 PM | Permalink | Reply

    Would you mind doing a little tutorial on how you added the modules to PHP? Im having a hell of a time trying to add such things as mcrypt, memcached, etc to the stock php install.

    VA:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.22_1171]
    Rating: +1 (from 1 vote)
  2. Posted February 9, 2010 at 10:11 AM | Permalink | Reply

    Thanks !
    Can xcode login to a web server using ssh ? so that I can directly modify the code on the server as opposed to testing it on my mac ?

    VA:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
    • Posted February 11, 2010 at 10:20 PM | Permalink | Reply

      XCode does support SSH. I haven’t tried to use it with SSH myself as all my code repos are stored locally in house. But yes, it does support SSH.

      VN:F [1.9.22_1171]
      Rating: 0.0/5 (0 votes cast)
      VN:F [1.9.22_1171]
      Rating: 0 (from 0 votes)
  3. Posted March 7, 2010 at 1:31 AM | Permalink | Reply

    @Mathew Anderson:
    If it doesn’t work, try MacFuse. Allows you to create an SSH-based remote filesystem that appears as a volume on your Mac. You can then edit files on that volume as you would any local files. I dig this method b/c I can also access the remote files via Terminal and any other program.

    VA:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)

Post a Comment

Your email is never shared. Required fields are marked *

*
*