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 (202) - iphone mysql (80) - php leopard (57) - mysql iphone (51) - Apache dmg (47) - apache MacOS (36) - MySQL on IPHONE (22) - apache iphone (21) - iphone apache (20) - apache mac os x (19) - Apache Mac Os (19) - php mysql leopard (17) - lamp mac os X (17) - F (16) - mysql for iphone (15) - mysql leopard package (13) - leopard mysql (13) - MySQL dmg (11) - php macosx (11) - LAMP macosx (11) - download apache.dmg (10) - leopard php (10) - mac os x apache php mysql (10) - iphone apache php (10) - mysql mac os x (10) - apache macosx (9) - leopard apache (8) - apache mysql mac os x (8) - mysql mac os (8) - mac os x amp (7) - php macos (7) - apache.dmg (7) - leopard php mysql (7) - Macos apache (7) - lamp on mac os x (7) - Mac os x apache mysql (6) - ???? ?? (6) - leopard apache php mysql (6) - enabling MySQL in Leopard (6) - php mysql mac (6) - apache mysql php mac os x (6) - leopard mysql php (6) - amp mac os x (6) - apache php leopard (6) - mac os x apache (6) - mysql (6) - install mysql on iphone (6) - leopard php apache (6) - apache php mysql leopard (5) - php on iphone (5) - php6 mysql5 mac entropy (5) - php mysql iphone (5) - lamp macos (5) - install php on iphone (5) - mysql macos (5) - www. x tv x sex.com (5) - install mysql iphone (5) - How to install apache on iphone (5) - mac os x php mysql (4) - mysql php leopard (4) - apache mysql php leopard (4) - apache mysql mac os (4) - mysql mac os leopard (4) - leopard PHP apache mysql (4) - osx apache mysql (4) - mysql in iphone (4) - install apache php mysql on mac os x (4) - iPhone php apache (4) - php apache mysql leopard (4) - leopard apache php (4) - php mysql mac os x (4) - apache mysql leopard (4) - mac amp install dmg (4) - configure apache mac os x (4) - stop apache on leopard (4) - apache php mysql mac os x (4) - install apache in leopard (3) - mysql auf iphone (3) - apache os x dmg (3) - leopard apache configure (3) - setup mysql leopard (3) - dmg apache (3) - lamp for mac os x (3) - install apache on leopard (3) - Mac OS X AMP setup (3) - mac os x apache php (3) - mamp vs (3) - apache on MACOS (3) - iphone mysql install (3) - apache iPhone mysql (3) - configura mysql leopard (3) - installing mysql on leopard (3) - mac os apache (3) - amp with apache 2.0.63 (3) - php mysql apache mac os x (3) - apache on leopard (3) - apache php on leopard (3) - apache on iphone (3) - leopard mysql apache (3) - install amp mac os x (3) - mamp mysql trouble (3) - apache auf timecapsule (3) - MySQL Apache iPhone (3) - iphone php mysql (3) - iphone apache mysql (3) - apache .dmg (3) - php5 apache2 mac os x (3) - apache php iPhone (3) - iphone mysql php (3) - mysql dmg leopard (3) - apache dmg mac os x (3) - apache php/iphone (3) - configure apache on Leopard (3) - Apache2, Mac X.4 (3) - apache for iphone (3) - apache mac os x mysql (3) - solaris 10 how to get apache2 2.0.63 to work with php (3) - leopard apache mysql php (3) - lamp mac (3) - how to setup apache on mac os leopard? (2) - apache php plugin (2) - mamp remote access mysql (2) - mamp mysql remote access (2) - issues with apache on mac os leopard? (2) - macos apache php mysql (2) - apache mysql mac (2) - installing mysql mac os x 2008 (2) - osx mysql dmg (2) - installing php mysql leopard (2) - mysql php mac os x (2) - install apache iphone (2) - mysql mac os x leopard (2) - apache php mysql mac os (2) - mac apache mysql php (2) - php mysql on leopard (2) - php6 download dmg (2) - running php on iphone (2) - mamp php6 (2) - os x Leopard and mysql liyanage (2) - Installing Apache PHP MySql Mac os X (2) - mysql mac dmg (2) - enable apache mysql leopard (2) - mysql leopard php apache (2) - apache MacOS X (2) - LAMP on MacOS (2) - install apache on iphone (2) - mac os leopard mysql (2) - iphone apache mysql php (2) - mac os x installing php trouble (2) - lamp mac os (2) -