Sunday, October 12, 2008

Let there be LAMP in Leopard

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.

No comments:

Post a Comment