ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

PHP Development Enviroment in OS X

November 12, 2007 9:31am

Subscribe [10]
  • #1 / Nov 12, 2007 9:31am

    RobbieL

    43 posts

    Afternoon all,

    Just got myself a Macbook, and needing to setup a PHP development enviroment on it. I understand getting it done is pretty different to how it’s done on a Windows machine.

    Anyone got a short tutorial, or know of one, that could help me get this done? I’m looking at having Apache/MySQL/PHP installed.


    Cheers.

  • #2 / Nov 12, 2007 10:19am

    ELRafael

    274 posts

    http://www.apachefriends.org/en/xampp.html

    But the configuration is almost the same.

    php.ini, httpd.conf, ...

    😛

  • #3 / Nov 12, 2007 10:46am

    Code Arachn!d

    92 posts

    Well you can always use MAMP - which is super easy (similar to the WAMP setup)... or you can go through and manually turn on web sharing (apache2) with PHP and MySQL. Personally I prefer the MAMP setup because A) it uses localhost as the TLD which lends well to url segments in CI for devel and production environments and B) it’s easier to maintain…

    BTW congrats on getting the Macbook, I just picked up a new iMac this past week as well and was up and running in no time. As far as editors I highly recommend Coda (by Panic), or there are options to go with BBedit, TextWrangler or PHPEclipse (which I’ll probably be porting over my sites from windows to see how well it works.

    I’m still trying to figure out how to get subversion to play nicely on the mac.

  • #4 / Nov 12, 2007 11:02am

    pickledegg2

    157 posts

    I use MAMP too, and congratulations on buying a Macbook. I too went from windows to a Macbook about 4 months ago and it was absolutely the best computer purchase I’ve ever made.

  • #5 / Nov 12, 2007 11:05am

    Code Arachn!d

    92 posts

    Not to thread jack - but once they come out with the new MBP in Feb (surely they do more than the recent 2mghz speed bump…)I’ll be adding one to my arsenal. So what specs are you both running?

  • #6 / Nov 12, 2007 11:05am

    johnwbaxter

    651 posts

    Yep same here.

    MAMP, CODA.

    Nothing else needed.

  • #7 / Nov 12, 2007 11:49am

    RobbieL

    43 posts

    Wow. MAMP looks terrific. Cheers guys.

    Just had a look at Coda. It certainly does look it covers most thing, and I especially like it’s non-cluttered UI. Is it work shelling out the cash for then? And how does it handle XML? I’ve got a couple of XML projects coming up, can you validate XML in it or would you suggest using another app for XML?

  • #8 / Nov 12, 2007 12:10pm

    Majd Taby

    637 posts

    Code Arachnid, take a look at SCPlugin, and MacPorts. SCPlugin is amazing, it integrates into the Finder right click menu. Macports is a package manager like Synaptic. Also take a look at vim, it’s worth the work 😊

  • #9 / Nov 13, 2007 6:40am

    johnwbaxter

    651 posts

    What is SCPlugin?

  • #10 / Nov 13, 2007 8:08am

    Xenon Design

    11 posts

    Yep same here.

    MAMP, CODA.

    Nothing else needed.

    I agree whole heartedly with that post. I use MAMP and I bought Coda. It is THE best development duo along with my Macbook Pro. MAMP is just simple and I have had no issues with it, one click and it starts my server with no problems.

  • #11 / Nov 13, 2007 9:25am

    RobbieL

    43 posts

    Just got done installing MAMP and I’m blown away. Simple to setup up, and with one click everything is ready to go.

    Just about to install the Coda trail and see how it is, but if it’s as good as I hear, I’ll probably just end up buying a copy.

  • #12 / Nov 13, 2007 10:02am

    Majd Taby

    637 posts

  • #13 / Nov 17, 2007 9:46am

    pwninja

    17 posts

    Coda, I develop on a spare shared hosting account I use.

    I use xampp when necessary however.

  • #14 / Dec 19, 2007 8:21pm

    zauber

    30 posts

    Coda looks nice - but for all my coding, including PHP, I live and breathe TextMate. If you never do anything but web-development, I’m sure Coda is worth the money, but if you ever need to stray into Python, XML, LaTeX, Java - whatever TextMate is the way to go. And PHP/HTML/JS/CSS is works just as well. When it comes to coda though, I get the feeling it’s sort of centered around a “old-school” non-frameworky paradigm. Seems it would be messy to develop for CI in it. I’d sure like to hear some details about this from people developing for CI in Coda.

    I’ve never tried MAMP or XAMPP. I always just used the built in Apache/PHP. Now that I’ve got Leopard It’s Apache 2 and PHP 5 which is nice. MySQL I download directly from the MySQL downloads site. The binary they have for 10.4 works on 10.5 also, but there are a few quirks: you’ve got to do some terminal-fiddling to start up the mysql-server. (Since I never shut down my machine, that’s not much of a problem for me - did it once, won’t have to do it again in a while)

  • #15 / Dec 22, 2007 2:44am

    CodyPChristian

    71 posts

    I’ve used both XAMPP back in my PC days, however when I got back into mac I was using MAMP with Coda, CocoaMySQL, and PHPMyAdmin. However for the past 4-ish months I’ve moved away from MAMP and use a local freeBSD server now. Along with my other applications I mentioned. However I do use MAMP when I’m on the go with my laptop and need to work on clients and such, and for this MAMP once again is outstanding 😊.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases