This is easy enough, but where oh where is the etc/apache2/ folder, which folder, what is the first one to look in? Look at your computer by opening your finder then simple press:
[command][shift][g] all at once, or one, hold the second as well, then finally all three with the third
then enter
1. pointer to the etc folder
/etc/
or
2. the actual location of the etc folder
/private/etc/
then you can see a lot of hidden folders within... even the apache2 folder with the configuration folder as well
use textwrangler (which is free) or bbedit (which is not) to edit your config, uncomment the php line (#) is the comment character to remove:
Code: Select all
#LoadModule php5_module libexec/apache2/libphp5.so
Code: Select all
LoadModule php5_module libexec/apache2/libphp5.so
whew. apple, could you make that any more difficult?
and NO, you should not just use MAMP to do it for you. use MAMP and then learn how to do it this way, which is much faster, better, and really will let you know what is going on in your system.
Here's a great link to an overview on all steps to getting your OS X running like a real programming / scripting environment, instead of an expensive media player / toaster:
http://www.procata.com/blog/archives/20 ... -os-x-105/