Professional PHP

PHP Programming, Web Development, PHP Advocacy and PHP Best Practices.
« The value of MVC
nofollow and comment spam »

Mac Mini and PHP

January 11th, 2005

I read various live blogs during the Mac World event today. It was interesting to see servers melt and the strategies people used to cope. A busy day in the Apple universe.

I just want to point out that the Mac mini comes with Apache and PHP pre-installed.

If you want, compiling a new version of PHP on the Mac is pretty easy if you have ever compiled anything on unix. If you have trouble compiling PHP extensions on OS X its probably due to this bug, which has an easy work around. You can also download an OS X PHP binary.

Compiling MySQL is also easy, or you can download a binary. If your flavor is postgresSQL, then compile or download that, too.

Bare Bones just released a free version of TextWrangler. TextWrangler and its paid version, BBEdit, are superb text editors for PHP. The diff and grep (multi file) capabilities are very good. Open via FTP/SFTP is handy and it knows what to do with unix permissions. It does does syntax highlighting, is fast, and it stays out of the way.

The following shell command will cause TextWrangler to use php.net for the find in reference command:

defaults write com.barebones.textwrangler Services:ADCReferenceSearchTemplate "http://www.php.net/search.php?show=quickref&pattern=%@"

I understand you can also use PHP with Apple’s Dev Tools (XCode), but I don’t. XCode is free with OS X, but not installed by default.

OS X comes with CVS, too. Unfortunately, text wrangler doesn’t integrate with it as BBEdit and XCode do.

The Mac is a great PHP development platform.

I will end this evangelizing post with a pure marketing quote from the Apple site for the Mac mini:

Perfect for Programmers
Set a space-saving Mac mini atop your workstation PC and add a KVM switch to share keyboard, monitor and mouse. Mac OS X includes free developer tools for Mac, UNIX and Java. Test out a Mac version of your latest creation, instantly. Pretty soon you’ll be using the Mac full-time, with that PC relegated to the testbed.

Filed Under

  • Mac, PHP, Web Design

Related Posts

  • Editing PHP
  • PHP Games
  • Whats on my Mac
  • PHP Application Security
You can leave a response, or trackback from your own site.

13 Responses to “Mac Mini and PHP”

  1. Paul M. Jones says:
    1/12/2005 at 7:37 am

    Preach the word, brother. My home machine is a Cube, originally G3/450MHz, now upgraded to G4/1.4GHz, and I use BBEdit everywhere all the time. It is a fantastic web development platform. (The new Mini looks like a half-Cube on its side. I am covetous of it. ;-)

  2. tom says:
    1/13/2005 at 11:11 am

    perfect.. in that case, for a home server! already configured.

    and it runs quiet.. which is the most important thing. oh, and it’s cheap, and good looking in the corner.

  3. gsuveg says:
    1/14/2005 at 12:56 am

    you can use jedit under OSX, and its free, and many plugin avaliable.

  4. Mike says:
    2/14/2005 at 8:16 pm

    Now they’re giving away Mac minis! Details are available on my blog.

  5. BlogMac.net says:
    2/16/2005 at 8:27 am

    Mac mini Analysis
    Clearly a cross between the Cube and the LC, but what are the good and the bad points of the first cheap headless Mac for over 5 years?

  6. BlogMac.net says:
    2/16/2005 at 8:28 am

    Mac mini Analysis
    Clearly a cross between the Cube and the LC, but what are the good and the bad points of the first cheap headless Mac for over 5 years?

  7. Jeff Moore’s Blog » Blog Archive » Whats on my Mac says:
    4/19/2005 at 11:42 am

    [...] Jackson Miller asks “Whats on your Mac?” Here goes: MySQL, PHP 4 and PHP 5 as described here. Also, phpMyAdmin. I use a personal version of squid using AdZapper becau [...]

  8. Professional PHP » Blog Archive » Editing PHP says:
    5/21/2005 at 7:43 am

    [...] integrating phpm with TextWrangler, which is what I am using right now to edit php. (see mac mini and php) Being able to look up parameters in my editor would be a big [...]

  9. Sat says:
    5/30/2005 at 9:42 am

    I’ve created a package for XCode which enables PHP syntax coloring and project creation. It can be downloaded at: http://www.mr-technical.com/public/?q=node/13

  10. Andy says:
    7/29/2005 at 12:13 am

    Thanks for the php.net reference tip – it’s great. I love TextWrangler. Something similar for Windows (though not quite as powerful, and shareware, not free) is TextPad (http://www.textpad.com/) – I have used it happily for years. Like TW, it has very powerful regular-expression support, and other unique features like column-select, cut and paste.

  11. Miss29 says:
    10/22/2009 at 5:55 pm

    In that step, parts of the original transcript are spliced out and discarded. ,

  12. Miguel Mossor says:
    1/10/2012 at 5:13 am

    april to may credit card debt in probate ca who stocks eyederma in brisbane australia city of detroit income tax division auto air power adapter for laptops rider moving service federal career intern program dod a single white flower dentist columbia sc payea used cars williston vermont microsoft notebook opticle 3000 fast faxing loan no payday

  13. hospedagem says:
    3/5/2012 at 6:26 am

    Good evening! I saw some issues in your blog. Should I tell you what I think it’s mistaken so that you may check this? Regards – Joseph Hospedagem

Leave a Reply

Click here to cancel reply.

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

code: use [code=php][/code].

Comment Preview

    Subscribe Feed
    Share Subscribe to this blog…
    Share Bookmark or share this page…
  • About

    My name is Jeff Moore. I'm a PHP programmer living in San Francico and working for a startup.

    More about me…

  • Categories (Home)

    • Agile Methods (14)
    • Mac (14)
    • Misc (18)
    • Open Source (14)
    • PHP (99)
    • Software Design (29)
    • Usability (14)
    • Web Design (20)
  • Recent Comments

    • Working with PHP 5 in Mac OS X 10.5 (Leopard)  258
      Tuan Lal, Lavagem de estofados, Edward L. Kind [...]
    • php | tek 2008  36
      how to mend ice machine, Akademija Debelih, Odbacena [...]
    • goto in PHP  59
      kasor, Thomas Valdivieso, Murray Ziadie [...]
    • Firefox Extensions for Web Developers  33
      kasor, Website Design Toronto, mobila bistrita [...]
    • Why PHP is easier to learn than Java  68
      kasor, Justina Calvery, Guy Lipton [...]
    • Meta Tag Refresh Faux Paux  43
      html email templates, E-Juice Reviews, image [...]
    • Improved Error Messages in PHP 5  49
      Carroll Tina, Przeprowadzka, Emery Harari [...]
    • Benchmarking PHP's Magic Methods  33
      kayu oyunlar?,dora,oyun,oyna, Benjamin Bejjani, paypal website [...]
    • Microbenchmarks of single and double qouting.  24
      kefir grains minneapolis, sexshop dildo, tuim688 [...]
    • PEAR Templates  17
      Kandice Sansing, car insurance estimates for teenagers, Dale Brence [...]
  • Recent Posts

    • Richard Thomas
    • ZendCon: Writing Maintainable PHP Code
    • Looking Towards the Cloud
    • Holiday Tech Support
    • Closures are coming to PHP
    • php | tek Wrapup
    • php | tek 2008
    • Sarah Snow Stever
    • Benchmarking PHP’s Magic Methods
    • The Endpoints of the Scale of Stupidity on Video
  • Site

    • Archives
    • Log in
  • Search