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 (118) - iphone mysql (86) - php leopard (57) - mysql iphone (54) - apache MacOS (44) - MySQL on IPHONE (23) - lamp mac os X (23) - 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) - apache.dmg (15) - mysql (14) - mysql leopard package (13) - leopard mysql (13) - MySQL dmg (12) - How to install apache on iphone (11) - php macosx (11) - LAMP macosx (11) - download apache.dmg (11) - mysql mac os x (10) - iphone apache php (10) - mac os x apache php mysql (10) - leopard php (10) - apache macosx (9) - Macos apache (9) - apache .dmg (9) - apache mysql php mac os x (8) - lamp on mac os x (8) - apache mysql mac os x (8) - mac os x amp (8) - mysql mac os (8) - leopard apache (8) - php macos (7) - leopard php mysql (7) - Mac os x apache mysql (7) - install mysql on iphone (7) - lamp macos (7) - php mysql mac (6) - leopard apache php mysql (6) - leopard mysql php (6) - php on iphone (6) - leopard php apache (6) - amp mac os x (6) - ???? ?? (6) - mac os x apache (6) - enabling MySQL in Leopard (6) - apache php leopard (6) - apache mac dmg (6) - install mysql iphone (5) - php6 mysql5 mac entropy (5) - install php on iphone (5) - iphone php mysql (5) - mysql macos (5) - apache php mysql leopard (5) - apache os x dmg (5) - php mysql iphone (5) - mamp mysql trouble (4) - install apache on iphone (4) - install apache php mysql on mac os x (4) - osx apache mysql (4) - php apache mysql leopard (4) - apache for iphone (4) - iPhone php apache (4) - apache mysql mac os (4) - php mysql mac os x (4) - leopard PHP apache mysql (4) - leopard apache php (4) - mysql php leopard (4) - mysql mac os leopard (4) - apache mysql leopard (4) - apache mysql php leopard (4) - mac amp install dmg (4) - Mac OS X LAMP (4) - mamp php6 (4) - mysql in iphone (4) - php Mysql for iPhone (4) - stop apache on leopard (4) - iphone mysql install (4) - apache on iphone (4) - mac os x php mysql (4) - configure apache mac os x (4) - apache php mysql mac os x (4) - iphone apache mysql (4) - Apache2, Mac X.4 (3) - lamp mac (3) - install amp mac os x (3) - mamp vs (3) - install apache in leopard (3) - apache mac os x mysql (3) - mamp mysql remote access (3) - Mac OS X AMP setup (3) - amp with apache 2.0.63 (3) - dmg apache (3) - php mysql apache mac os x (3) - apache dmg install (3) - mysql 6 leopard install (3) - apache iPhone mysql (3) - apache dmg mac os x (3) - mac os x apache php (3) - lamp for mac os x (3) - download apache dmg (3) - apache auf timecapsule (3) - apache php mysql mac os (3) - leopard mysql apache (3) - leopard apache configure (3) - apache on MACOS (3) - apache php/iphone (3) - iphone apache mysql php (3) - configura mysql leopard (3) - iphone mysql php (3) - apache php on leopard (3) - installing mysql on leopard (3) - mysql dmg leopard (3) - MySQL Apache iPhone (3) - install apache iphone (3) - php5 apache2 mac os x (3) - mysql auf iphone (3) - configure apache on Leopard (3) - apache php iPhone (3) - install apache on leopard (3) - leopard apache mysql php (3) - setup mysql leopard (3) - apache for macos (3) - solaris 10 how to get apache2 2.0.63 to work with php (3) - mac os apache (3) - apache on leopard (3) - installing apache php and mysql on mac os x (2) - mysql mac os x leopard (2) - enable apache mysql leopard (2) - install iphone apache (2) - apache MacOS X (2) - mysql macos dmg (2) - LAMP on MacOS (2) - php mysql on macos (2) - iphone configure Apache for PHP support (2) - apache osx dmg (2) - PHP Apache Mac (2) - Installing Apache PHP MySql Mac os X (2) - apache php plugin (2) - mysql leopard php (2) - mac os x install apache mysql php (2) - php mysql on leopard (2) - macos apache php mysql (2) - issues with apache on mac os leopard? (2) -