Apache, MySQL, and PHP on MacOS X

p0ps Harlow tweeted something about trying to get an AMP environment running on his Mac. Conversation followed, and eventually I sent along an email that look sorta like this:

If you’re running 10.4 (I doubt it, but it’s worth mentioning because I’m most familiar with it), here’s how I’ve setup dozens of machines for web development and WordPress:

Install MySQL
http://dev.mysql.com/downloads/mysql/5.0.html#macosx-dmg

Install Marc Liyanage’s PHP 5 package
http://www.entropy.ch/software/macosx/php/

From there all you have to do is install WordPress.

10.5 changed lots of this (as you probably already know). The good news is that it includes current versions of the AMP suite. The bad news is that the PHP doesn’t include a number of useful components. Still, it will run WordPress and I’ve got it working on my laptop. These directions look like pretty much what I had to do:

http://stringfoo.com/2007/11/05/server_setup_on_leopard/
http://remysharp.com/2007/10/27/lamp-in-leopard-osx-105-php5-and-apache-22

It’s likely none of that will be helpful, in which case you will have discovered why I’m no longer a sysadmin.

Marc Liyanage’s builds of PHP for Mac are probably the easiest to use and they include most all the extensions a person could want, but he hadn’t released a package for Leopard at the time (he’s got a release in beta now). As it turned out, p0ps actually was running 10.4, and he got things going in a jiffy.

4 Comments

  1. Comment by Jody Cleveland on January 24, 2008 5:48 pm

    Actually, I find MAMP to be far easier. It’s very easy to setup, and very easy to stop and start.

  2. Comment by Casey Bisson on January 25, 2008 10:41 am

    @Jody: Ironically p0ps started with MAMP but couldn’t make it work, and I didn’t know at the time that MAMP was a product and not simply the suite of applications he wanted.

    MAMP may work for some, but it seems like a lot of work and trouble to me.

  3. Comment by ejk on January 25, 2008 10:59 am

    In my experience MAMP is great for quick n’ dirty local development (literally drag-n-drop install), but shouldn’t be used if you want to set up a server for remote access.

  4. Comment by aziz on January 28, 2008 7:27 am

    sex

Comments RSS TrackBack Identifier URI

Leave a comment

 

User contributed tags for this post:

mysql leopard (203) - iphone mysql (86) - Apache dmg (81) - php leopard (57) - mysql iphone (54) - apache MacOS (42) - lamp mac os X (23) - MySQL on IPHONE (22) - apache iphone (21) - apache mac os x (20) - iphone apache (20) - Apache Mac Os (19) - php mysql leopard (17) - F (16) - mysql for iphone (15) - mysql (14) - mysql leopard package (13) - apache.dmg (13) - leopard mysql (13) - MySQL dmg (12) - LAMP macosx (11) - download apache.dmg (11) - php macosx (11) - iphone apache php (10) - mysql mac os x (10) - mac os x apache php mysql (10) - How to install apache on iphone (10) - leopard php (10) - Macos apache (9) - apache macosx (9) - mac os x amp (8) - mysql mac os (8) - leopard apache (8) - apache mysql php mac os x (8) - apache mysql mac os x (8) - lamp on mac os x (8) - Mac os x apache mysql (7) - lamp macos (7) - leopard php mysql (7) - php macos (7) - amp mac os x (6) - apache php leopard (6) - mac os x apache (6) - php mysql mac (6) - leopard apache php mysql (6) - leopard php apache (6) - enabling MySQL in Leopard (6) - leopard mysql php (6) - ???? ?? (6) - install mysql on iphone (6) - php on iphone (6) - install mysql iphone (5) - iphone php mysql (5) - mysql macos (5) - php6 mysql5 mac entropy (5) - apache .dmg (5) - install php on iphone (5) - apache php mysql leopard (5) - php mysql iphone (5) - php mysql mac os x (4) - apache for iphone (4) - leopard apache php (4) - osx apache mysql (4) - apache php mysql mac os x (4) - install apache php mysql on mac os x (4) - mamp mysql trouble (4) - iphone mysql install (4) - php Mysql for iPhone (4) - Mac OS X LAMP (4) - apache mysql mac os (4) - iPhone php apache (4) - mysql mac os leopard (4) - apache mysql leopard (4) - mysql in iphone (4) - iphone apache mysql (4) - leopard PHP apache mysql (4) - apache on iphone (4) - stop apache on leopard (4) - mac os x php mysql (4) - apache mysql php leopard (4) - mysql php leopard (4) - mac amp install dmg (4) - php apache mysql leopard (4) - configure apache mac os x (4) - mac os apache (3) - mysql 6 leopard install (3) - lamp for mac os x (3) - install apache on iphone (3) - MySQL Apache iPhone (3) - mamp mysql remote access (3) - apache php mysql mac os (3) - mac os x apache php (3) - mysql auf iphone (3) - leopard apache mysql php (3) - apache dmg install (3) - apache on MACOS (3) - configura mysql leopard (3) - Apache2, Mac X.4 (3) - apache iPhone mysql (3) - dmg apache (3) - solaris 10 how to get apache2 2.0.63 to work with php (3) - install apache iphone (3) - apache mac dmg (3) - apache dmg mac os x (3) - iphone apache mysql php (3) - apache php/iphone (3) - php mysql apache mac os x (3) - install apache on leopard (3) - mamp php6 (3) - apache os x dmg (3) - Mac OS X AMP setup (3) - apache on leopard (3) - php5 apache2 mac os x (3) - lamp mac (3) - setup mysql leopard (3) - apache php iPhone (3) - mamp vs (3) - install apache in leopard (3) - install amp mac os x (3) - apache auf timecapsule (3) - mysql dmg leopard (3) - apache php on leopard (3) - apache mac os x mysql (3) - apache for macos (3) - installing mysql on leopard (3) - iphone mysql php (3) - configure apache on Leopard (3) - leopard mysql apache (3) - amp with apache 2.0.63 (3) - leopard apache configure (3) - php mysql on leopard (2) - issues with apache on mac os leopard? (2) - php mysql mac os (2) - how to setup apache on mac os leopard? (2) - installing apache on iphone (2) - wordpress php and apache mac (2) - configure apache on mac (2) - install wordpress (2) - php and mysql on iphone (2) - php mysql macos (2) - start stop apache mac os leopard (2) - install mysql leopard (2) - install lamp on mac os x leopard (2) - download apache dmg (2) - mamp remote access mysql (2) - leopard php apache2 mysql (2) - configure mysql mac (2) - mac apache dmg (2) - mysql mac os x leopard (2) -