Home arrow Site Administration arrow Page 4 - Building Apache, MySQL, and PHP on Mac OS X

Making WebDAV - Administration

Apple's new operating system, Mac OS X, has a UNIX at it's core. What can you do with that? Make a killer development box that includes runtime environments for PHP and MySQL! This article runs you through all the steps for building Apache, MySQL, and PHP on your Mac OS X-based box.

  1. Building Apache, MySQL, and PHP on Mac OS X
  2. Prerequisites
  3. Making MySQL
  4. Making WebDAV
  5. Making PHP
  6. Caveats
By: Lucas Marshall
Rating: starstarstarstarstar / 11
May 21, 2001

print this article


WebDAV is a very useful protocol that allows for file transfer, versioning, and other things via HTTP. The standard installation of Apache comes with mod_dav, the module responsible for handling WebDAV requests, so I'll show you how to compile it for our new copy of Apache. You can find out more about WebDAV at http://www.webdav.org.

% cd .. % gnutar zxf mod_dav-1.0.2-1.3.6.tar.gz % cd mod_dav-1.0.2-1.3.6
Now that the mod_dav source is decompressed, we configure.

% ./configure --with-apxs=/usr/sbin/apxs
The --with-apxs option tells the configure script that we want mod_dav compiled as a DSO using Apache's APXS mechanism.

% make % sudo make install
This will compile, install, and enable mod_dav. If you want it to disable it (as it is in Apple's default Apache) you'll need to edit /etc/httpd/httpd.conf and comment out (put # at the start of the line) these lines:

LoadModule dav_module libexec/httpd/libdav.so AddModule mod_dav.c
One more step and you're done. On to PHP.

>>> More Site Administration Articles          >>> More By Lucas Marshall

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort


- Coding: Not Just for Developers
- To Support or Not Support IE?
- Administration: Networking OSX and Win 7
- DotNetNuke Gets Social
- Integrating MailChimp with Joomla: Creating ...
- Integrating MailChimp with Joomla: List Mana...
- Integrating MailChimp with Joomla: Building ...
- Integrating MailChimp with Joomla
- More Top WordPress Plugins for Social Media
- Optimizing Security: SSH Public Key Authenti...
- Patches and Rejects in Software Configuratio...
- Configuring a CVS Server
- Managing Code and Teams for Cross-Platform S...
- Software Configuration Management
- Back Up a Joomla Site with Akeeba Backup

Developer Shed Affiliates


Dev Shed Tutorial Topics: