I'm using OS 10.6.8. I would like to write a site on my localhost, but im not sure how to do this. I think i need php enabled, mysql enabled and id like to use phpmyadmin. I know there are programs out there like xampp and mamp that are very conveient but id rather not use them. So, how could i go about writing a php site with phpmyadmin on my localhost without xampp or mamp. Thanks!
closed as not a real question by MDMarra, mdpc, Scott Pack, Iain♦ Dec 10 '12 at 19:40
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, see the FAQ.
MAMP and XAMPP are just names given to a collection of tools. There are installers that will install everything all at once for you that also use that name, but MAMP just stands for:
And the fact of the matter is that you need those four things if you want to develop with PHP on a Mac with MySQL.
So, you can either use a MAMP installer that does it all for you, or you can download and install each component seperately. Either way, you're going to end up with a MAMP stack.
Installation for each component is incredibly well documented at each component's own site. You also need to install them in the order that they're listed. First, install Apache and get it working. Then install MySQL and get it working. Then, install PHP, configure PHP to work with MySQL and then install the PHP extension into Apache.
phpmyadmin and mysql are the things you need to download. Apache and php come with the OS, just need to be turned on and configured.
Check out the answer here http://stackoverflow.com/questions/1293484/easiest-way-to-activate-php-and-mysql-on-mac-os-10-6-snow-leopard to get php and mysql up and running, then go to the phpmyadmin site and download it.