
Syntax error on line 2 of /private/etc/apache2/users/nf: I then ran the configtest and got the following error message: "David-Crellens-Computer:/ david$ sudo apachectl configtest There were also no files at all in the /private/etc/apache2 directory so I copied yours into it changing the John to my user name (david). So I copied the one from the "Guest" user.

There was no "Sites" in my user directory (I think I deleted it long before ago). Your wording helped me a lot but I am still hung up on something that must be missing. So I created a file at /etc/paths.d/mysql containing So I created the following file at /Library/LaunchDaemons/ to autostart MySQL (thanks Joannou Ng): īefore I restarted, I wanted to make sure that mysql would be in my PATH environment variable when I restart. It was unclear from my web searches whether the startup item for MySQL is working on Leopard. There was no friendly installer for OS X 10.5 so I used the OS X package for 10.4. Now you should be able to go to in your browser, and the file at /Users/john/Sites/index.html should be displayed. If all is OK, restart Apache to effect the changes: Which should tell you that the syntax of your Apache configuration files is OK (it will point you to the line containing the error otherwise). You can test that everything works and you didn't make any typos by using Options Indexes MultiViews FollowSymLinks I'd much rather use a nice short URL like So first I assigned the name dev to my computer by adding a line to /etc/hosts: But using Leopard's built-in URL support for my home directory is verbose, too: That's right in my home directory and when I copy or sync my home directory I get the sites I'm working on, too. It's a cumbersome place I'd much rather keep them in /Users/john/Sites. I don't like keeping my websites in /Library/WebServer/Documents. Yay! Step 2: Friendly Virtual Hosts in Apache

Now going to shows me the info page for PHP 5.2.4. I created /Library/WebServer/Documents/phpinfo.php with the following content: Place a test document into the default htdocs root to see if php is running. (If Apache was already running, use restart instead of start.) Start Apache 2 by using the Sharing panel in Preferences or at the command line with the following: LoadModule php5_module libexec/apache2/libphp5.so Uncomment line 114 in /etc/apache2/nf to enable Leopard's built-in PHP:
INSTALL DRUPAL FOR MAC UPDATE
Update 1: In fact, I recommend using MAMP instead.

Especially if you need GD support (i.e., you're going to have Drupal do image resizing).
INSTALL DRUPAL FOR MAC INSTALL
You may wish to save some time and install MAMP instead. I thought I'd write up the steps I took to get Drupal running on a stock Leopard installation.
