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

Caveats - 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.

TABLE OF CONTENTS:
  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
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement
There are some problems with the built software when compiled as specified in this article, some because of the software itself, some not.

Firstly, the MySQL daemon that is compiled isn't able to shut down under Mac OS X. This is a known bug, but unfortunately there is no workaround or fix, so don't go trying to run mysqladmin shutdown expecting it to work.

Secondly, the way I have you build Apache in this article makes it so you can't load the mod_ssl module that comes with Mac OS X. This is because I felt the complexity of building an Apache with Extended API support as needed for mod_ssl, and compiling a new version of mod_ssl and it's support libraries, would add confusion to the article. I felt that this is a rarely needed feature, so this won't affect many of you.

If you need to use mod_ssl, you are able to build it by using the instructions that come with the module's source, if you are so inclined. Just be sure to use the same flags that you used in this article (--with-layout, --enable-shared, etc.) when compiling Apache, in addition to those required to make Apache work with mod_ssl. Mod_ssl can be found at http://www.mod-ssl.org.

This instructions in this article was tested and found to work on an iBook, an iMac DV, and a Power Macintosh G4 (PCI Graphics), all running Mac OS X 10.0.3. YMMV.

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

blog comments powered by Disqus
   

SITE ADMINISTRATION ARTICLES

- 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
- Install and Optimize PlayOnLinux on Ubuntu a...
- Top Wordpress Plugins for e-Commerce
- Top WordPress Plugins to Fight Spam
- Top Six Drupal Modules to Prevent Spam
- Install XAMPP on Windows
- Manage Backups for WordPress Files and Datab...
- WordPress Security Tips
- How to Back Up WordPress Files and Databases


© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 10 - Follow our Sitemap

Dev Shed Tutorial Topics: