Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Apache and PHP are already installed.

PHP is turned off by default. To turn it on, check the following link:
http://clickontyler.com/blog/2007/10/how-to-enable-php5-in-mac-os-x-leopard/

To turn on apache, go to System Prefrences, Sharing, check the Web Sharing box and you're all set.

To install mysql server, check the following link (assumes that you have the Developer tools and you compile from source):
http://hivelogic.com/articles/installing-mysql-on-mac-os-x/

You should be good to go. I just set the above up about a week ago following those steps.
 
From the PHP page:

http://us3.php.net/mail

"For the Mail functions to be available, PHP must have access to the sendmail binary on your system during compile time. If you use another mail program, such as qmail or postfix, be sure to use the appropriate sendmail wrappers that come with them. PHP will first look for sendmail in your PATH, and then in the following: /usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib:/usr/lib. It's highly recommended to have sendmail available from your PATH. Also, the user that compiled PHP must have permission to access the sendmail binary."

I haven't tried it with the current setup, but it should work. I'd give it a shot and see what happens.
 
Apache and PHP are already installed.

PHP is turned off by default. To turn it on, check the following link:
http://clickontyler.com/blog/2007/10/how-to-enable-php5-in-mac-os-x-leopard/

To turn on apache, go to System Prefrences, Sharing, check the Web Sharing box and you're all set.

To install mysql server, check the following link (assumes that you have the Developer tools and you compile from source):
http://hivelogic.com/articles/installing-mysql-on-mac-os-x/

You should be good to go. I just set the above up about a week ago following those steps.



I turned it on and it works. Is there a hide feature on the mac osx that hides files because I can't find the httpd.conf file.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.