Apache and PHP on Snow Leopard
Wednesday, December 29th, 2010 | Author:

Yes, I have a new Mac. There may be fewer Ubuntu posts for a while.

To get Apache and PHP going for the first time, the following files need changing:

  • /etc/hosts
  • /etc/apache2/httpd.conf
  • /etc/apache2/extra/httpd-vhosts.conf
  • /etc/apache2/users/<username>

To create a new virtual host, the following files need changing:

  • /etc/hosts
  • /etc/apache2/extra/httpd-vhosts.conf
  • /etc/apache2/users/<username>

There are more details here:

I just know I’ll forget about that last file if I don’t record it here.

Category: Web Development  | Tags: , , , ,  | Leave a Comment