How to enable the PHP module in Apache (OS X)

We need to go fast. These are 7 short steps.

  1. Launch Terminal.
  2. Type sudo nano /etc/apache2/httpd.conf.
  3. Expect a password prompt (don't be shy, enter your password).
  4. Hit the key combo ctrl+W and search the document for LoadModule php.
  5. Uncomment the line you just found by removing the # sign at the beginning of it.
  6. Hit the key combo ctrl+X then type y to quit nano while preserving the changes.
  7. You're back on Terminal now. Just type sudo apachectl restart and you'll be done.

Good for you.