Running Apache for All Local Webpages

Posted by waiwai933 on Super User See other posts from Super User or by waiwai933
Published on 2010-05-15T04:31:35Z Indexed on 2010/05/15 4:34 UTC
Read the original article Hit count: 323

Filed under:
|
|

So I've enabled PHP on my Mac OS X 10.5 (Leopard), and it's working great so long as:

1) I place the file in the ~/Sites directory
2) I use the http://localhost/~user/example.php URL instead of the file:///Users/user/Sites/example.php

I presume this is because unless both of those conditions are true, Apache is not involved, and thus neither is PHP. So is there any way to remove either of those conditions? (Well, really the latter, because the first is a symptom of the second)

© Super User or respective owner

Related posts about osx

Related posts about osx-leopard