Let there be LAMP in Leopard

October 12, 2008

I have once set up a LAMP server on my MacBook I tried MAMP which was fairly easy to install and use.    As Mac OS X is in fact UNIX I just have to enable a few born with features that came with the box.   I was too naive and lazy then, now I tried again.

This is my howto to install LAMP on Leopard. In summary there are few things that are not the same with other Linux distro that I have used.

  1. webroot is at /Library/WebServer/Documents/
  2. manually start mysql /Library/StartupItems/MySQLCOM/MySQLCOM start
  3. the database server host is localhost:/tmp/mysql.sock

Within 30 minutes I have the server running and a svn copy of WordPress installed. This is in fact UAMP not LAMP.

I’ll patch up my howto to include installation steps for Habari. Habari requires PDO driver for mysql therefore php.ini requires tweaking.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: