28 March 2006

Setting up Apache, PHP, MySql and Eclipse for Mac OS X

A mate of mine wanted to get into web development and needed to know the best way to go about getting the right stuff on his Mac. I've chosen PHP as the scripting language because it's one of the easiest to install on the Mac. Follow the links below in order, and you should have it all up and running within an hour.

Apache Server
http://www.onlamp.com/pub/a/mac/2001/12/07/apache.html

Apache PHP plugin
http://www.entropy.ch/software/macosx/php/

Eclipse (code editor)
http://www.eclipse.org/downloads/

PHP Plugin for Eclipse
http://sourceforge.net/projects/phpeclipse/

Database
http://dev.mysql.com/doc/refman/5.0/en/mac-os-x-installation.html
http://developer.apple.com/internet/opensource/osdb.html

PHP reference & tutorials
http://www.w3schools.com/php/

2 comments:

Dan Lavender said...

To install the PHP plugin for Eclipse, open up eclipse and do the following:

1) Click Help > Software Updates > Find and Install
2) Select "Search for new features to install" and click Next
3) Click New Local Site...
4) select the "net" folder (the unzipped download from sourceforge) from wherever it is and click Choose
5) Make user the "net" folder is selected and click Finish

Anonymous said...

You might find MAMP a useful/simple approach? : http://www.mamp.info/en/index.php