Building Apache, MySQL, and PHP on Mac OS X - Prerequisites (Page 2 of 6 )
This article assumes that you are a user with Administrator privileges and that the Mac OS X Developer Tools are installed. If the Developer Tools are not installed, they can be installed from the grey Developer Tools CD that came with your copy of Mac OS X.
To get everything you'll need to follow this article, open up a terminal. The Terminal program can be found in /Applications/Utilities and looks like this:

Type the following commands into your terminal (don't type the %s, they are just representative of the prompt).
% cd /tmp
% wget http://download.sourceforge.net/pub/mirrors/mysql/Downloads/MySQL-3.23/mysql-3.23.38.tar.gz
% wget http://httpd.apache.org/dist/httpd/apache_1.3.19.tar.gz
% wget http://www.php.net:8000/distributions/php-4.0.5.tar.gz
% wget http://www.webdav.org/mod_dav/mod_dav-1.0.2-1.3.6.tar.gz
When you're done, don't close the Terminal window, you'll need it later. Now that you have everything, let's start getting things set up.Next: Making MySQL >>
More Administration Articles
More By Lucas Marshall