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. Actually, I find MAMP to be far easier. It’s very easy to setup, and very easy to stop and start.

  2. @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. 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. sex


Comments RSS TrackBack Identifier URI

Leave a comment

 

User contributed tags for this post:

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