Configuring Apache/PHP on Mountain Lion

Quantum Vortex

As part of developing iPhone applications, sometimes I will need to set up a web server that serves PHP pages on my MacBook. I always forget how to do this – so here is a link to a great resource all about this for future reference.

Once everything is configured you can easily perform common operations from the command line:

To start apache:

To stop apache:

To restart it:

Find current apache version:

File location in file system:

All pages are available at:

View original post


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s