By Harry Fuecks

PHP on MAC resources

By Harry Fuecks

First via Simon (as usual): Installing PHP 5 on OS X (if you’re using Server Logistics).

There’s another article on (which seems to be an excellent site): Building and Installing PHP 5 and Apache 1.3.31 on Mac OS X 10.3.4 – the configure / make / make install approach.

Just posting those as PHP MAC developers seem to get largely ignored (perhaps because “it just works” for them). Not being part of the wealthy, MAC-using bourgeois, I wouldn’t know ;)

Any more MAC links (ideally from MAC users)?

  • nucleuz

    Marc Liyange has a excellent resource on Mac:
    Doesn’t have PHP5 yet, but the 4.3.6 module available ( ) has a lot of compiled modules. ( got a proper installer for it as well )

  • gabriel ricard

    Well, not much is different about running PHP on Mac OS X than say, on Linux or FreeBSD. It’s unix. PHP just works (thanks to Marko Karppinen).

  • texdc

    I don’t have a link to contribute, but am a Mac user and appreciate the head nod.

    However, for those PC users curious about developing on the Mac, I highly recommend looking at [URL=]BBEdit[/URL]. It’s common knowledge in Mac-land that this is an indespensible code editing tool that supports a variety of languages, including exceptional support for PHP, XHTML, and CSS. I wouldn’t be able to do what I do without the tuteledge of Harry and the simplicity of BBEdit.


  • Adam Trachtenberg

    I wrote a piece for O’Reilly’s OnLamp.Com on installing PHP 4.3.x on Mac OS X. Most of it still applies to 5.0.

    The basic install is easy. The tricky part is that some libraries are installed in weird places on Mac OS X or need certain options to get picked up correctly.

  • raincrow

    There is also this:

    Which appears to be PHP 4.3.8 and 5.0.0 packaged as OS X Frameworks. Unfortunately, the site is a bit skimpy on details if you’re not familiar with the concept of OS Frameworks (like me). And the page dedign is, well, unique.

  • Steev Jobz

    No comment really, but a complaint. It’s not MAC! It’s Macintosh, or Mac. MAC is a cosmetics company.

  • agentolivia

    Thanks for the links, Harry! As far as mac-centric “LAMP” resources, I’ve really only checked out what has to offer (which reference’s Marc Liyange’s site [see above comment], an indispensable resource). So I really appreciate references to other mac/php sites. Thanks again!

  • Thirteenva

    It’s Mac, not MAC. MAC implies an acronym. Mac is the correct grammar for a name.

  • MAC is a cosmetics company.


  • Cardinal Richleau XVIII

    Nobody really cares about your preference in abbreviated naming for your silly little toy computers.

  • Amgine

    Toy computers… 2nd fastest supercomputer in the world, using 20,000 USD worth of toy computers… Yep.

    wondering why the following was snippied out of – Manual

    guntars at datapro dot lv
    27-Nov-2003 03:24
    For all those people struggling with Macintosh conversions, since PHP 4.3 there is a new runtime setting available:
    auto_detect_line_endings boolean

    When turned on, PHP will examine the data read by fgets() and file() to see if it is using Unix, MS-Dos or Macintosh line-ending conventions.

    This enables PHP to interoperate with Macintosh systems, but defaults to Off, as there is a very small performance penalty when detecting the EOL conventions for the first line, and also because people using carriage-returns as item separators under Unix systems would experience non-backwards-compatible behaviour.

Get the latest in Front-end, once a week, for free.